QT += widgets requires(qtConfig(filedialog)) HEADERS = mainwindow.h SOURCES = main.cpp \ mainwindow.cpp RESOURCES = application.qrc # install target.path = $$[QT_INSTALL_EXAMPLES]/widgets/mainwindows/application INSTALLS += target