Solved Build error when loading vs2019 project from qt creator
-
I want to load Qt project created in vs2019 in Qt creator
I created a .pro file in vs2019 and loaded the file in the creator, but an error occurred. Why is that? Did the route change? -
You need to share the contents of the .pro file.
My guess is that the
QT
variable is not set properly. Make sure it includeswidgets
module, for example:QT = core gui widgets
-
You need to share the contents of the .pro file.
My guess is that the
QT
variable is not set properly. Make sure it includeswidgets
module, for example:QT = core gui widgets
-
@sierdzio said in Build error when loading vs2019 project from qt creator:
QT = core gui widgets
Thanks a lot, I have one more question
I built each in Release and Debug mode, but only one executable file came out because the build output path was one.
I want to receive each executable file built in release mode, how can I do that? -
@IknowQT You can define build folders for debug and release in QtCreator under Projects/Build & Run.
Also, I would remove CONFIG += debug, debug/release mode is handled in QtCreator.