Unsolved Qt 5.7.0 error after fresh install
-
Hi
I have done a fresh install of Qt 5.7.0 mingw version in windows with the online installer. I get the following error but it still builds the application.
Starting: "C:\Qt\5.7\mingw53_32\bin\qmake.exe" C:......\test.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.Any possible solution ?
-
Hi,
try to use a full path in the -spec C:\Qt\5.7\mingw53_32\mkspecs\win32-g++ parameter.
-Michael. -
Hi
I am not able to edit the qmake command via Projects->build. Is there any other way to do what you suggested?
-
-
@saitej said in Qt 5.7.0 error after fresh install:
I am not able to edit the qmake command via Projects->build
Sorry, I got the impression you would call the qmake command by hand from the command line.
-Michael. -
Its not a typo.I just edited the path to remove user details
-
@saitej Can you show the pro file?
-
Ya .. It works with 5.6.1 though!!
.pro file
#------------------------------------------------- # # Project created by QtCreator 2016-09-30T09:28:36 # #------------------------------------------------- QT += core gui quickwidgets qml quick location location-private positioning-private xml greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport network sql opengl svg TARGET = MapTest TEMPLATE = app SOURCES += main.cpp\ mainwindow.cpp HEADERS += mainwindow.h FORMS += mainwindow.ui
-
@saitej said in Qt 5.7.0 error after fresh install:
QT += core gui quickwidgets qml quick location location-private positioning-private xml
Why do you have so many Qt modules? Do you really need all of them?
-
Ya I will need all of them
-
@saitej Do you see that warnings if you only add Qt modules you're currently using?
Don't forget to call qmake and rebuild after changing pro file. -
No. There is no difference if I remove them
-
@saitej You could try to call qmake manually with -d parameter to get more debug output. Maybe you then will see what actually is not found.
C:\Qt\5.7\mingw53_32\bin\qmake.exe" -d C:......\test.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug