Open goetzmoritz opened 6 years ago
You can start Qt programs in command line mode without UI with the -platform offscreen
arguments:
(found here)
./NormalmapGenerator -platform offscreen
However you would have to add the handling of command line arguments for setting parameters and saving the generated images, as this is currently not possible via command line. A place where it could be added is here, where I already handle image paths as arguments: https://github.com/Theverat/NormalmapGenerator/blob/master/src_gui/mainwindow.cpp#L99
Thanks. The output of the latest pre-compiled linux-binary
gave me:
./NormalmapGenerator -platform offscreen
This application failed to start because it could not find or load the Qt platform plugin "offscreen".
Available platform plugins are: xcb.
Reinstalling the application may fix this problem.
Aborted (core dumped)
Hi,
I'd like to have a release based on command line level in order to generate normal maps without the gui. Is that possible?
Thanks!