I have been tasked with converting a project that was built in QtCreator to .NET
The first thing I am trying to do is build the project in QtCreator so that I can step thru its execution to follow the flow and see some of the variables at play (real values).
When I build, I get a lot of errors like this:
error: C1083: Cannot open include file: 'QFrame': No such file or directory error: C1083: Cannot open include file: 'QMainWindow': No such file or directory error: C1083: Cannot open include file: 'QSpinBox': No such file or directory When I search my drive, I do find 'QFrame', but in paths that have things like this in them:
android_armv7 msvc2013_64 winphone_x86 winrt_x64 Here is my .pro file
TEMPLATE = app CONFIG *= warn_on CONFIG(debug, debug|release): CONFIG *= console QT += widgets #------------------------------------------------------------ # Source Files #------------------------------------------------------------ FORMS += \ GUIDemo.ui \ Registration.ui \ HEADERS += \ CustomFrames.h \ GUIDemo.h \ MultiRadar.h \ QControlUtils.h \ ScannerInfo.h \ TabAdvanced.h \ TabBScan.h \ TabGuardZone.h \ TabImage.h \ TabInstallation.h \ TabPPI.h \ TabTargets.h \ SOURCES += \ CustomFrames.cpp \ GUIDemo.cpp \ MultiRadar.cpp \ QControlUtils.cpp \ ScannerInfo.cpp \ TabAdvanced.cpp \ TabBScan.cpp \ TabGuardZone.cpp \ TabImage.cpp \ TabInstallation.cpp \ TabPPI.cpp \ TabTargets.cpp \ main.cpp \ #------------------------------------------------------------ # Include directories #------------------------------------------------------------ INCLUDES = \ ../../include \ #------------------------------------------------------------ # UI Generation #------------------------------------------------------------ CONFIG(debug, debug|release): TARGET_DIR = debug CONFIG(release, debug|release): TARGET_DIR = release UI_DIR = GeneratedFiles MOC_DIR = $${UI_DIR}/$${TARGET_DIR} INCLUDEPATH += $${UI_DIR} #------------------------------------------------------------ # Libraries #------------------------------------------------------------ LIBS += \ -L../../lib/$${TARGET_DIR} \ -lNRPClient \ -lNRPPPI \ #------------------------------------------------------------ # Final config #------------------------------------------------------------ #set the qmake variables DEPENDPATH += $$INCLUDES INCLUDEPATH += $$INCLUDES The folder indicated by INCLUDES is there and contains a bunch of project-specific header files.
I have a feeling that I am missing some part of QtCreator that would allow me to build for Win7.
QtSingleApplicationor some other classes which aren't part of the Qt5 versions.#include <QtGui/QFrame>instead of#include <QFrame>.