Chris@7: Chris@7: TEMPLATE = app Chris@7: Chris@7: CONFIG += stl c++11 exceptions console warn_on Chris@7: CONFIG -= qt Chris@7: Chris@7: # Using the "console" CONFIG flag above should ensure this happens for Chris@7: # normal Windows builds, but this may be necessary when cross-compiling Chris@7: win32-x-g++:QMAKE_LFLAGS += -Wl,-subsystem,console Chris@7: Chris@7: !win32* { Chris@7: QMAKE_CXXFLAGS += -Werror Chris@7: } Chris@7: Chris@7: linux* { Chris@7: QMAKE_LFLAGS += -ldl Chris@7: } Chris@7: Chris@7: TARGET = helper Chris@7: Chris@7: OBJECTS_DIR = o Chris@7: MOC_DIR = o Chris@7: Chris@7: SOURCES += \ Chris@7: helper.cpp Chris@7: