1 2 3 4 5 6 7 8 9
CONFIG += testcase TARGET = tst_qmenubar QT += widgets testlib SOURCES += tst_qmenubar.cpp macos: { OBJECTIVE_SOURCES += tst_qmenubar_mac.mm LIBS += -framework AppKit }