diff options
Diffstat (limited to 'utils/themeeditor')
-rw-r--r-- | utils/themeeditor/themeeditor.pro | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/utils/themeeditor/themeeditor.pro b/utils/themeeditor/themeeditor.pro index 42031ff9fa..303f8b31f6 100644 --- a/utils/themeeditor/themeeditor.pro +++ b/utils/themeeditor/themeeditor.pro | |||
@@ -23,10 +23,20 @@ INCLUDEPATH += models | |||
23 | INCLUDEPATH += graphics | 23 | INCLUDEPATH += graphics |
24 | INCLUDEPATH += quazip | 24 | INCLUDEPATH += quazip |
25 | 25 | ||
26 | cross { | ||
27 | message("Crossbuilding for W32 binary") | ||
28 | # retrieve ar binary for w32 cross compile. This might be specific to | ||
29 | # Fedora mingw32 packages of Qt. Using member() here is needed because at | ||
30 | # least the F13 packages add ar options to the variable. | ||
31 | CROSSOPTIONS += AR=$$member(QMAKE_LIB) | ||
32 | # make sure we use the correct subsystem to prevent a console window coming up. | ||
33 | LIBS += -Wl,-subsystem,windows | ||
34 | } | ||
26 | # Stuff for the parse lib | 35 | # Stuff for the parse lib |
27 | libskin_parser.commands = @$(MAKE) \ | 36 | libskin_parser.commands = @$(MAKE) \ |
28 | TARGET_DIR=$$MYBUILDDIR \ | 37 | TARGET_DIR=$$MYBUILDDIR \ |
29 | CC=\"$$QMAKE_CC\" \ | 38 | CC=\"$$QMAKE_CC\" \ |
39 | $$CROSSOPTIONS \ | ||
30 | BUILDDIR=$$OBJECTS_DIR \ | 40 | BUILDDIR=$$OBJECTS_DIR \ |
31 | -C \ | 41 | -C \ |
32 | $$RBBASE_DIR/lib/skin_parser \ | 42 | $$RBBASE_DIR/lib/skin_parser \ |