I'm trying to compile a project where the main entry point isn't in the root package (which virtually all examples use, e.g. -main Main
), but I keep getting this error message:
Error: Invalid commandline class : rtp.qt.QTPrinter should be QTPrinter
Here are the various syntaxes that should work:
-cp src
-main rtp.qt.QTPrinter
Or:
-cp src
-main rtp/qt/QTPrinter.hx