Index: ObjQt.pro ================================================================== --- ObjQt.pro +++ ObjQt.pro @@ -35,11 +35,11 @@ QtGui/QtPaintDevice.mm \ QtWidgets/QtAction.mm \ QtWidgets/QtApplication.mm \ QtWidgets/QtWidget.mm -OBJCFLAGS += $$system("objfw-config --cppflags --objcflags --cxxflags") +OBJCFLAGS += $$system("sh -c 'objfw-config --cppflags --objcflags --cxxflags'") OBJCFLAGS_WARN_ON = -Wall \ -Werror \ -Wsemicolon-before-method-body \ -Wobjc-missing-property-synthesis @@ -47,7 +47,9 @@ macx:QMAKE_CXXFLAGS += $$OBJCFLAGS macx:QMAKE_CXXFLAGS_WARN_ON = $$OBJCFLAGS_WARN_ON !macx:QMAKE_CC = clang++ !macx:QMAKE_CFLAGS += -std=c++11 $$OBJCFLAGS !macx:QMAKE_CFLAGS_WARN_ON = $$OBJCFLAGS_WARN_ON +win32:QMAKE_CFLAGS -= -fno-keep-inline-dllexport +win32:QMAKE_CFLAGS_WARN_ON += -Wno-ignored-attributes -LIBS += $$system("objfw-config --ldflags --libs") +LIBS += $$system("sh -c 'objfw-config --ldflags --libs'")