TEMPLATE = lib QT += mvvmcore network # Creating a static library is typically more efficient. You can still create a shared library if you want to CONFIG += c++14 static TARGET = logic DEFINES += QT_DEPRECATED_WARNINGS SOURCES += $$files(src/*.cpp, true) HEADERS += $$files(include/*.h, true) INCLUDEPATH += $$PWD/include/ _never_true_condition: SOURCES += $$files($$PWD/.ts-dummy/*) # Uncomment the following line to automatically generated and update settings translations when building #PRE_TARGETDEPS += qtmvvm-tsgen