QT += core gui network greaterThan(QT_MAJOR_VERSION, 4): QT += widgets CONFIG += c++17 TARGET = yourls-ui TEMPLATE = app SOURCES += \ main.cpp \ mainwindow.cpp \ yourlsclient.cpp HEADERS += \ mainwindow.h \ yourlsclient.h FORMS += \ mainwindow.ui qnx: target.path = /tmp/$${TARGET}/bin else: unix:!android: target.path = /opt/$${TARGET}/bin !isEmpty(target.path): INSTALLS += target