QMAKE_LFLAGS_X86_64 += FOO -Xarch_x86_64 greaterThan(QT_MAJOR_VERSION, 4) { QT += widgets } SOURCES = FooApp.cpp main.cpp HEADERS = FooApp.h