1 2 3 4 5 6 7 8 9
CONFIG += ordered TEMPLATE = subdirs SUBDIRS = app package equals(DEFINES, "DESKTOP"){ SUBDIRS -= package } package.depends += app