using qtmain_win.cpp in a qt project
-
Hello,
I use qt 5.11.2. A qt project I am trying to build references qtMain. When I first got the error
"qtmain_win.cpp:-1: error: undefined reference to 'qMain(int, char**)' File not found: qtmain_win.cpp", I used qt installation manager to also install the Qt Sources.
But rebuilding the project still gives me the same error. Could you please guide me on how to solve the issue?
The atools.pro file:Created by and for Qt Creator This file was created for editing the project sources only.
You may attempt to use it for building too, by modifying this file here.
#TARGET = atools
QT += sql xml svg core widgets network
QT -= gui
CONFIG += c++14Use to debug release builds
#CONFIG+=force_debug_info
INCLUDEPATH += $$PWD/src
DEFINES += QT_NO_CAST_FROM_BYTEARRAY
DEFINES += QT_NO_CAST_TO_ASCII
#DEFINES += QT_NO_CAST_FROM_ASCII
unix {
DEFINES += GIT_REVISION_ATOOLS='\"$$system(git rev-parse --short HEAD)\"'Enable to allow scenery database loading on Linux or macOS
#DEFINES+=DEBUG_FS_PATHS
}win32 {
DEFINES +=GIT_BIN="....\Progra~1\Git\bin\git"
#DEFINES += GIT_REVISION="....\Progra~1\Git\bin\git rev-parse --short HEAD"
DEFINES += GIT_REVISION_ATOOLS='\"$$system('....\Progra~1\Git\bin\git' rev-parse --short HEAD)\"'
DEFINES += _USE_MATH_DEFINES
DEFINES += NOMINMAX
SIMCONNECT="....\Progra~1\Microsoft Games\Microsoft Flight Simulator X\WidevieW"
INCLUDEPATH += "....\Progra~1\Lockheed Martin\Prepar3D v4 SDK 4.3.29.25520\inc\SimConnect"
#INCLUDEPATH += $$[QT_INSTALL_HEADERS]/QtZlib
LIBS+="C:\Program Files\Lockheed Martin\Prepar3D v4 SDK 4.3.29.25520\lib\SimConnect\SimConnect.lib"
LIBS+= -lz
}macx {
Compatibility down to OS X Mountain Lion 10.8
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.8
}
HEADERS =
$$PWD/src/fs/ap/airportloader.h
$$PWD/src/fs/bgl/ap/del/deleteairport.h
$$PWD/src/fs/bgl/ap/del/deletecom.h
$$PWD/src/fs/bgl/ap/del/deleterunway.h
$$PWD/src/fs/bgl/ap/del/deletestart.h
$$PWD/src/fs/bgl/ap/rw/runway.h
$$PWD/src/fs/bgl/ap/rw/runwayapplights.h
$$PWD/src/fs/bgl/ap/rw/runwayend.h
$$PWD/src/fs/bgl/ap/rw/runwayvasi.h
$$PWD/src/fs/bgl/ap/airport.h
$$PWD/src/fs/bgl/ap/approach.h
$$PWD/src/fs/bgl/ap/approachleg.h
$$PWD/src/fs/bgl/ap/approachtypes.h
$$PWD/src/fs/bgl/ap/apron.h
$$PWD/src/fs/bgl/ap/apron2.h
$$PWD/src/fs/bgl/ap/apronedgelight.h
$$PWD/src/fs/bgl/ap/com.h
$$PWD/src/fs/bgl/ap/fence.h
$$PWD/src/fs/bgl/ap/helipad.h
$$PWD/src/fs/bgl/ap/jetway.h
$$PWD/src/fs/bgl/ap/parking.h
$$PWD/src/fs/bgl/ap/start.h
$$PWD/src/fs/bgl/ap/taxipath.h
$$PWD/src/fs/bgl/ap/taxipoint.h
$$PWD/src/fs/bgl/ap/transition.h
$$PWD/src/fs/bgl/nav/airwaysegment.h
$$PWD/src/fs/bgl/nav/airwaywaypoint.h
$$PWD/src/fs/bgl/nav/dme.h
$$PWD/src/fs/bgl/nav/glideslope.h
$$PWD/src/fs/bgl/nav/ils.h
$$PWD/src/fs/bgl/nav/ilsvor.h
$$PWD/src/fs/bgl/nav/localizer.h
$$PWD/src/fs/bgl/nav/marker.h
$$PWD/src/fs/bgl/nav/navbase.h
$$PWD/src/fs/bgl/nav/ndb.h
$$PWD/src/fs/bgl/nav/tacan.h
$$PWD/src/fs/bgl/nav/vor.h
$$PWD/src/fs/bgl/nav/waypoint.h
$$PWD/src/fs/bgl/nl/namelist.h
$$PWD/src/fs/bgl/nl/namelistentry.h
$$PWD/src/fs/bgl/bglbase.h
$$PWD/src/fs/bgl/bglfile.h
$$PWD/src/fs/bgl/bglposition.h
$$PWD/src/fs/bgl/boundary.h
$$PWD/src/fs/bgl/boundarysegment.h
$$PWD/src/fs/bgl/converter.h
$$PWD/src/fs/bgl/header.h
$$PWD/src/fs/bgl/record.h
$$PWD/src/fs/bgl/recordtypes.h
$$PWD/src/fs/bgl/section.h
$$PWD/src/fs/bgl/sectiontype.h
$$PWD/src/fs/bgl/subsection.h
$$PWD/src/fs/bgl/util.h
$$PWD/src/fs/common/airportindex.h
$$PWD/src/fs/common/binarygeometry.h
$$PWD/src/fs/common/globereader.h
$$PWD/src/fs/common/magdecreader.h
$$PWD/src/fs/common/metadatawriter.h
$$PWD/src/fs/common/morareader.h
$$PWD/src/fs/common/procedurewriter.h
$$PWD/src/fs/common/xpgeometry.h
$$PWD/src/fs/db/ap/rw/runwayendwriter.h
$$PWD/src/fs/db/ap/rw/runwaywriter.h
$$PWD/src/fs/db/ap/airportfilewriter.h
$$PWD/src/fs/db/ap/airportwriter.h
$$PWD/src/fs/db/ap/approachlegwriter.h
$$PWD/src/fs/db/ap/approachwriter.h
$$PWD/src/fs/db/ap/apronlightwriter.h
$$PWD/src/fs/db/ap/apronwriter.h
$$PWD/src/fs/db/ap/comwriter.h
$$PWD/src/fs/db/ap/deleteairportwriter.h
$$PWD/src/fs/db/ap/deleteprocessor.h
$$PWD/src/fs/db/ap/fencewriter.h
$$PWD/src/fs/db/ap/helipadwriter.h
$$PWD/src/fs/db/ap/legbasewriter.h
$$PWD/src/fs/db/ap/parkingwriter.h
$$PWD/src/fs/db/ap/startwriter.h
$$PWD/src/fs/db/ap/taxipathwriter.h
$$PWD/src/fs/db/ap/transitionlegwriter.h
$$PWD/src/fs/db/ap/transitionwriter.h
$$PWD/src/fs/db/meta/bglfilewriter.h
$$PWD/src/fs/db/meta/sceneryareawriter.h
$$PWD/src/fs/db/nav/airwaysegmentwriter.h
$$PWD/src/fs/db/nav/boundarywriter.h
$$PWD/src/fs/db/nav/ilswriter.h
$$PWD/src/fs/db/nav/markerwriter.h
$$PWD/src/fs/db/nav/ndbwriter.h
$$PWD/src/fs/db/nav/tacanwriter.h
$$PWD/src/fs/db/nav/vorwriter.h
$$PWD/src/fs/db/nav/waypointwriter.h
$$PWD/src/fs/db/airwayresolver.h
$$PWD/src/fs/db/databasemeta.h
$$PWD/src/fs/db/datawriter.h
$$PWD/src/fs/db/dbairportindex.h
$$PWD/src/fs/db/routeedgewriter.h
$$PWD/src/fs/db/runwayindex.h
$$PWD/src/fs/db/writerbase.h
$$PWD/src/fs/db/writerbasebasic.h
$$PWD/src/fs/dfd/dfdcompiler.h
$$PWD/src/fs/lb/logbook.h
$$PWD/src/fs/lb/logbookentry.h
$$PWD/src/fs/lb/logbookentryfilter.h
$$PWD/src/fs/lb/logbookloader.h
$$PWD/src/fs/lb/types.h
$$PWD/src/fs/ns/navserver.h
$$PWD/src/fs/ns/navservercommon.h
$$PWD/src/fs/ns/navserverworker.h
$$PWD/src/fs/online/onlinedatamanager.h
$$PWD/src/fs/online/onlinetypes.h
$$PWD/src/fs/online/statustextparser.h
$$PWD/src/fs/online/whazzuptextparser.h
$$PWD/src/fs/perf/aircraftperf.h
$$PWD/src/fs/perf/aircraftperfconstants.h
$$PWD/src/fs/perf/aircraftperfhandler.h
$$PWD/src/fs/pln/flightplan.h
$$PWD/src/fs/pln/flightplanconstants.h
$$PWD/src/fs/pln/flightplanentry.h
$$PWD/src/fs/pln/flightplanio.h
$$PWD/src/fs/sc/connecthandler.h
$$PWD/src/fs/sc/datareaderthread.h
$$PWD/src/fs/sc/simconnectaircraft.h
$$PWD/src/fs/sc/simconnectapi.h
$$PWD/src/fs/sc/simconnectdata.h
$$PWD/src/fs/sc/simconnectdatabase.h
$$PWD/src/fs/sc/simconnectdummy.h
$$PWD/src/fs/sc/simconnecthandler.h
$$PWD/src/fs/sc/simconnectreply.h
$$PWD/src/fs/sc/simconnecttypes.h
$$PWD/src/fs/sc/simconnectuseraircraft.h
$$PWD/src/fs/sc/weatherrequest.h
$$PWD/src/fs/sc/xpconnecthandler.h
$$PWD/src/fs/scenery/addoncfg.h
$$PWD/src/fs/scenery/addoncomponent.h
$$PWD/src/fs/scenery/addonpackage.h
$$PWD/src/fs/scenery/fileresolver.h
$$PWD/src/fs/scenery/sceneryarea.h
$$PWD/src/fs/scenery/scenerycfg.h
$$PWD/src/fs/userdata/userdatamanager.h
$$PWD/src/fs/util/coordinates.h
$$PWD/src/fs/util/fsutil.h
$$PWD/src/fs/util/morsecode.h
$$PWD/src/fs/util/tacanfrequencies.h
$$PWD/src/fs/weather/metar.h
$$PWD/src/fs/weather/metarparser.h
$$PWD/src/fs/weather/weathernetdownload.h
$$PWD/src/fs/weather/weathernetsingle.h
$$PWD/src/fs/weather/weathertypes.h
$$PWD/src/fs/weather/xpweatherreader.h
$$PWD/src/fs/xp/airwaypostprocess.h
$$PWD/src/fs/xp/scenerypacks.h
$$PWD/src/fs/xp/xpairportwriter.h
$$PWD/src/fs/xp/xpairspacewriter.h
$$PWD/src/fs/xp/xpairwaywriter.h
$$PWD/src/fs/xp/xpcifpwriter.h
$$PWD/src/fs/xp/xpconstants.h
$$PWD/src/fs/xp/xpdatacompiler.h
$$PWD/src/fs/xp/xpfixwriter.h
$$PWD/src/fs/xp/xpnavwriter.h
$$PWD/src/fs/xp/xpwriter.h
$$PWD/src/fs/fspaths.h
$$PWD/src/fs/navdatabase.h
$$PWD/src/fs/navdatabaseerrors.h
$$PWD/src/fs/navdatabaseoptions.h
$$PWD/src/fs/navdatabaseprogress.h
$$PWD/src/fs/progresshandler.h
$$PWD/src/geo/calculations.h
$$PWD/src/geo/line.h
$$PWD/src/geo/linestring.h
$$PWD/src/geo/pos.h
$$PWD/src/geo/rect.h
$$PWD/src/geo/simplespatialindex.h
$$PWD/src/gui/actionstatesaver.h
$$PWD/src/gui/actiontextsaver.h
$$PWD/src/gui/application.h
$$PWD/src/gui/consoleapplication.h
$$PWD/src/gui/dialog.h
$$PWD/src/gui/errorhandler.h
$$PWD/src/gui/filehistoryhandler.h
$$PWD/src/gui/griddelegate.h
$$PWD/src/gui/helphandler.h
$$PWD/src/gui/itemviewzoomhandler.h
$$PWD/src/gui/mapposhistory.h
$$PWD/src/gui/palettesettings.h
$$PWD/src/gui/tools.h
$$PWD/src/gui/translator.h
$$PWD/src/gui/widgetstate.h
$$PWD/src/gui/widgetutil.h
$$PWD/src/io/binarystream.h
$$PWD/src/io/fileroller.h
$$PWD/src/io/inireader.h
$$PWD/src/logging/loggingconfig.h
$$PWD/src/logging/loggingguiabort.h
$$PWD/src/logging/logginghandler.h
$$PWD/src/logging/loggingtypes.h
$$PWD/src/logging/loggingutil.h
$$PWD/src/settings/settings.h
$$PWD/src/sql/sqldatabase.h
$$PWD/src/sql/sqlexception.h
$$PWD/src/sql/sqlexport.h
$$PWD/src/sql/sqlquery.h
$$PWD/src/sql/sqlrecord.h
$$PWD/src/sql/sqlscript.h
$$PWD/src/sql/sqltransaction.h
$$PWD/src/sql/sqlutil.h
$$PWD/src/util/csvreader.h
$$PWD/src/util/filesystemwatcher.h
$$PWD/src/util/heap.h
$$PWD/src/util/htmlbuilder.h
$$PWD/src/util/httpdownloader.h
$$PWD/src/util/paintercontextsaver.h
$$PWD/src/util/roundedpolygon.h
$$PWD/src/util/timedcache.h
$$PWD/src/util/updatecheck.h
$$PWD/src/util/version.h
$$PWD/src/win/activationcontext.h
$$PWD/src/zip/gzip.h
$$PWD/src/zip/zipreader.h
$$PWD/src/zip/zipwriter.h
$$PWD/src/atools.h
$$PWD/src/exception.h
src/fs/online/onlinetextparser.hSOURCES =
$$PWD/src/fs/ap/airportloader.cpp
$$PWD/src/fs/bgl/ap/del/deleteairport.cpp
$$PWD/src/fs/bgl/ap/del/deletecom.cpp
$$PWD/src/fs/bgl/ap/del/deleterunway.cpp
$$PWD/src/fs/bgl/ap/del/deletestart.cpp
$$PWD/src/fs/bgl/ap/rw/runway.cpp
$$PWD/src/fs/bgl/ap/rw/runwayapplights.cpp
$$PWD/src/fs/bgl/ap/rw/runwayend.cpp
$$PWD/src/fs/bgl/ap/rw/runwayvasi.cpp
$$PWD/src/fs/bgl/ap/airport.cpp
$$PWD/src/fs/bgl/ap/approach.cpp
$$PWD/src/fs/bgl/ap/approachleg.cpp
$$PWD/src/fs/bgl/ap/approachtypes.cpp
$$PWD/src/fs/bgl/ap/apron.cpp
$$PWD/src/fs/bgl/ap/apron2.cpp
$$PWD/src/fs/bgl/ap/apronedgelight.cpp
$$PWD/src/fs/bgl/ap/com.cpp
$$PWD/src/fs/bgl/ap/fence.cpp
$$PWD/src/fs/bgl/ap/helipad.cpp
$$PWD/src/fs/bgl/ap/jetway.cpp
$$PWD/src/fs/bgl/ap/parking.cpp
$$PWD/src/fs/bgl/ap/start.cpp
$$PWD/src/fs/bgl/ap/taxipath.cpp
$$PWD/src/fs/bgl/ap/taxipoint.cpp
$$PWD/src/fs/bgl/ap/transition.cpp
$$PWD/src/fs/bgl/nav/airwaysegment.cpp
$$PWD/src/fs/bgl/nav/airwaywaypoint.cpp
$$PWD/src/fs/bgl/nav/dme.cpp
$$PWD/src/fs/bgl/nav/glideslope.cpp
$$PWD/src/fs/bgl/nav/ils.cpp
$$PWD/src/fs/bgl/nav/ilsvor.cpp
$$PWD/src/fs/bgl/nav/localizer.cpp
$$PWD/src/fs/bgl/nav/marker.cpp
$$PWD/src/fs/bgl/nav/navbase.cpp
$$PWD/src/fs/bgl/nav/ndb.cpp
$$PWD/src/fs/bgl/nav/tacan.cpp
$$PWD/src/fs/bgl/nav/vor.cpp
$$PWD/src/fs/bgl/nav/waypoint.cpp
$$PWD/src/fs/bgl/nl/namelist.cpp
$$PWD/src/fs/bgl/nl/namelistentry.cpp
$$PWD/src/fs/bgl/bglbase.cpp
$$PWD/src/fs/bgl/bglfile.cpp
$$PWD/src/fs/bgl/bglposition.cpp
$$PWD/src/fs/bgl/boundary.cpp
$$PWD/src/fs/bgl/boundarysegment.cpp
$$PWD/src/fs/bgl/converter.cpp
$$PWD/src/fs/bgl/header.cpp
$$PWD/src/fs/bgl/record.cpp
$$PWD/src/fs/bgl/recordtypes.cpp
$$PWD/src/fs/bgl/section.cpp
$$PWD/src/fs/bgl/sectiontype.cpp
$$PWD/src/fs/bgl/subsection.cpp
$$PWD/src/fs/bgl/util.cpp
$$PWD/src/fs/common/airportindex.cpp
$$PWD/src/fs/common/binarygeometry.cpp
$$PWD/src/fs/common/globereader.cpp
$$PWD/src/fs/common/magdecreader.cpp
$$PWD/src/fs/common/metadatawriter.cpp
$$PWD/src/fs/common/morareader.cpp
$$PWD/src/fs/common/procedurewriter.cpp
$$PWD/src/fs/common/xpgeometry.cpp
$$PWD/src/fs/db/ap/rw/runwayendwriter.cpp
$$PWD/src/fs/db/ap/rw/runwaywriter.cpp
$$PWD/src/fs/db/ap/airportfilewriter.cpp
$$PWD/src/fs/db/ap/airportwriter.cpp
$$PWD/src/fs/db/ap/approachlegwriter.cpp
$$PWD/src/fs/db/ap/approachwriter.cpp
$$PWD/src/fs/db/ap/apronlightwriter.cpp
$$PWD/src/fs/db/ap/apronwriter.cpp
$$PWD/src/fs/db/ap/comwriter.cpp
$$PWD/src/fs/db/ap/deleteairportwriter.cpp
$$PWD/src/fs/db/ap/deleteprocessor.cpp
$$PWD/src/fs/db/ap/fencewriter.cpp
$$PWD/src/fs/db/ap/helipadwriter.cpp
$$PWD/src/fs/db/ap/legbasewriter.cpp
$$PWD/src/fs/db/ap/parkingwriter.cpp
$$PWD/src/fs/db/ap/startwriter.cpp
$$PWD/src/fs/db/ap/taxipathwriter.cpp
$$PWD/src/fs/db/ap/transitionlegwriter.cpp
$$PWD/src/fs/db/ap/transitionwriter.cpp
$$PWD/src/fs/db/meta/bglfilewriter.cpp
$$PWD/src/fs/db/meta/sceneryareawriter.cpp
$$PWD/src/fs/db/nav/airwaysegmentwriter.cpp
$$PWD/src/fs/db/nav/boundarywriter.cpp
$$PWD/src/fs/db/nav/ilswriter.cpp
$$PWD/src/fs/db/nav/markerwriter.cpp
$$PWD/src/fs/db/nav/ndbwriter.cpp
$$PWD/src/fs/db/nav/tacanwriter.cpp
$$PWD/src/fs/db/nav/vorwriter.cpp
$$PWD/src/fs/db/nav/waypointwriter.cpp
$$PWD/src/fs/db/airwayresolver.cpp
$$PWD/src/fs/db/databasemeta.cpp
$$PWD/src/fs/db/datawriter.cpp
$$PWD/src/fs/db/dbairportindex.cpp
$$PWD/src/fs/db/routeedgewriter.cpp
$$PWD/src/fs/db/runwayindex.cpp
$$PWD/src/fs/db/writerbasebasic.cpp
$$PWD/src/fs/dfd/dfdcompiler.cpp
$$PWD/src/fs/lb/logbook.cpp
$$PWD/src/fs/lb/logbookentry.cpp
$$PWD/src/fs/lb/logbookentryfilter.cpp
$$PWD/src/fs/lb/logbookloader.cpp
$$PWD/src/fs/lb/types.cpp
$$PWD/src/fs/ns/navserver.cpp
$$PWD/src/fs/ns/navservercommon.cpp
$$PWD/src/fs/ns/navserverworker.cpp
$$PWD/src/fs/online/onlinedatamanager.cpp
$$PWD/src/fs/online/onlinetextparser.cpp
$$PWD/src/fs/online/onlinetypes.cpp
$$PWD/src/fs/online/statustextparser.cpp
$$PWD/src/fs/online/whazzuptextparser.cpp
$$PWD/src/fs/perf/aircraftperf.cpp
$$PWD/src/fs/perf/aircraftperfconstants.cpp
$$PWD/src/fs/perf/aircraftperfhandler.cpp
$$PWD/src/fs/pln/flightplan.cpp
$$PWD/src/fs/pln/flightplanconstants.cpp
$$PWD/src/fs/pln/flightplanentry.cpp
$$PWD/src/fs/pln/flightplanio.cpp
$$PWD/src/fs/sc/connecthandler.cpp
$$PWD/src/fs/sc/datareaderthread.cpp
$$PWD/src/fs/sc/simconnectaircraft.cpp
$$PWD/src/fs/sc/simconnectapi.cpp
$$PWD/src/fs/sc/simconnectdata.cpp
$$PWD/src/fs/sc/simconnectdatabase.cpp
$$PWD/src/fs/sc/simconnectdummy.cpp
$$PWD/src/fs/sc/simconnecthandler.cpp
$$PWD/src/fs/sc/simconnectreply.cpp
$$PWD/src/fs/sc/simconnectuseraircraft.cpp
$$PWD/src/fs/sc/weatherrequest.cpp
$$PWD/src/fs/sc/xpconnecthandler.cpp
$$PWD/src/fs/scenery/addoncfg.cpp
$$PWD/src/fs/scenery/addoncomponent.cpp
$$PWD/src/fs/scenery/addonpackage.cpp
$$PWD/src/fs/scenery/fileresolver.cpp
$$PWD/src/fs/scenery/sceneryarea.cpp
$$PWD/src/fs/scenery/scenerycfg.cpp
$$PWD/src/fs/userdata/userdatamanager.cpp
$$PWD/src/fs/util/coordinates.cpp
$$PWD/src/fs/util/fsutil.cpp
$$PWD/src/fs/util/morsecode.cpp
$$PWD/src/fs/util/tacanfrequencies.cpp
$$PWD/src/fs/weather/metar.cpp
$$PWD/src/fs/weather/metarparser.cpp
$$PWD/src/fs/weather/weathernetdownload.cpp
$$PWD/src/fs/weather/weathernetsingle.cpp
$$PWD/src/fs/weather/weathertypes.cpp
$$PWD/src/fs/weather/xpweatherreader.cpp
$$PWD/src/fs/xp/airwaypostprocess.cpp
$$PWD/src/fs/xp/scenerypacks.cpp
$$PWD/src/fs/xp/xpairportwriter.cpp
$$PWD/src/fs/xp/xpairspacewriter.cpp
$$PWD/src/fs/xp/xpairwaywriter.cpp
$$PWD/src/fs/xp/xpcifpwriter.cpp
$$PWD/src/fs/xp/xpconstants.cpp
$$PWD/src/fs/xp/xpdatacompiler.cpp
$$PWD/src/fs/xp/xpfixwriter.cpp
$$PWD/src/fs/xp/xpnavwriter.cpp
$$PWD/src/fs/xp/xpwriter.cpp
$$PWD/src/fs/fspaths.cpp
$$PWD/src/fs/navdatabase.cpp
$$PWD/src/fs/navdatabaseerrors.cpp
$$PWD/src/fs/navdatabaseoptions.cpp
$$PWD/src/fs/navdatabaseprogress.cpp
$$PWD/src/fs/progresshandler.cpp
$$PWD/src/geo/calculations.cpp
$$PWD/src/geo/line.cpp
$$PWD/src/geo/linestring.cpp
$$PWD/src/geo/pos.cpp
$$PWD/src/geo/rect.cpp
$$PWD/src/geo/simplespatialindex.cpp
$$PWD/src/gui/actionstatesaver.cpp
$$PWD/src/gui/actiontextsaver.cpp
$$PWD/src/gui/application.cpp
$$PWD/src/gui/consoleapplication.cpp
$$PWD/src/gui/dialog.cpp
$$PWD/src/gui/errorhandler.cpp
$$PWD/src/gui/filehistoryhandler.cpp
$$PWD/src/gui/griddelegate.cpp
$$PWD/src/gui/helphandler.cpp
$$PWD/src/gui/itemviewzoomhandler.cpp
$$PWD/src/gui/mapposhistory.cpp
$$PWD/src/gui/palettesettings.cpp
$$PWD/src/gui/tools.cpp
$$PWD/src/gui/translator.cpp
$$PWD/src/gui/widgetstate.cpp
$$PWD/src/gui/widgetutil.cpp
$$PWD/src/io/binarystream.cpp
$$PWD/src/io/fileroller.cpp
$$PWD/src/io/inireader.cpp
$$PWD/src/logging/loggingconfig.cpp
$$PWD/src/logging/loggingguiabort.cpp
$$PWD/src/logging/logginghandler.cpp
$$PWD/src/logging/loggingutil.cpp
$$PWD/src/settings/settings.cpp
$$PWD/src/sql/sqldatabase.cpp
$$PWD/src/sql/sqlexception.cpp
$$PWD/src/sql/sqlexport.cpp
$$PWD/src/sql/sqlquery.cpp
$$PWD/src/sql/sqlrecord.cpp
$$PWD/src/sql/sqlscript.cpp
$$PWD/src/sql/sqltransaction.cpp
$$PWD/src/sql/sqlutil.cpp
$$PWD/src/util/csvreader.cpp
$$PWD/src/util/filesystemwatcher.cpp
$$PWD/src/util/heap.cpp
$$PWD/src/util/htmlbuilder.cpp
$$PWD/src/util/httpdownloader.cpp
$$PWD/src/util/paintercontextsaver.cpp
$$PWD/src/util/roundedpolygon.cpp
$$PWD/src/util/timedcache.cpp
$$PWD/src/util/updatecheck.cpp
$$PWD/src/util/version.cpp
$$PWD/src/win/activationcontext.cpp
$$PWD/src/zip/gzip.cpp
$$PWD/src/zip/zip.cpp
$$PWD/src/atools.cpp
$$PWD/src/exception.cppINCLUDEPATH =
$$PWD/src
$$PWD/src/fs
$$PWD/src/fs/ap
$$PWD/src/fs/bgl
$$PWD/src/fs/bgl/ap
$$PWD/src/fs/bgl/ap/del
$$PWD/src/fs/bgl/ap/rw
$$PWD/src/fs/bgl/nav
$$PWD/src/fs/bgl/nl
$$PWD/src/fs/common
$$PWD/src/fs/db
$$PWD/src/fs/db/ap
$$PWD/src/fs/db/ap/rw
$$PWD/src/fs/db/meta
$$PWD/src/fs/db/nav
$$PWD/src/fs/dfd
$$PWD/src/fs/lb
$$PWD/src/fs/ns
$$PWD/src/fs/online
$$PWD/src/fs/perf
$$PWD/src/fs/pln
$$PWD/src/fs/sc
$$PWD/src/fs/scenery
$$PWD/src/fs/userdata
$$PWD/src/fs/util
$$PWD/src/fs/weather
$$PWD/src/fs/xp
$$PWD/src/geo
$$PWD/src/gui
$$PWD/src/io
$$PWD/src/logging
$$PWD/src/settings
$$PWD/src/sql
$$PWD/src/util
$$PWD/src/win
$$PWD/src/zip#DEFINES =
Thank you
-
@merqt said in using qtmain_win.cpp in a qt project:
QT += sql xml svg core widgets network
QT -= guiThis is an error.
widgets
module depends ongui
module, so it should not be removed.Also, please follow the build instructions from BUILD.txt file.