[Qt 5.0.2] Build problems
-
@SGalst I am using Qt Creator and Mingw and I didn't already try Qt 5.1 because I could face the same problem.
@code_fodder Yes -
I don't know if it can be the problem origin: I also have Qt 4.8.1 installed in C harddisk and I want to install Qt 5.0.2 in E. Is it a problem?
Another thing is in Options > Build and run>Qt Version under the Autodetected block I have " ! Qt 5.0.2 MinGW 32bit E:\Qt\5.0.2\mingw47_32\bin\qmake.exe". If you have not noticed, I have an exclamation mark before Qt 5.0.2 and the MinGW is 32 bits is it a problem because I am on Windows 7 64 bits?
Thanks to all. -
[quote author="irobot" date="1371914695"]If you have not noticed, I have an exclamation mark before Qt 5.0.2 and the MinGW is 32 bits is it a problem because I am on Windows 7 64 bits?
[/quote]
No problem using MinGW 32 bit version on Windows 64 bit. I have installed MinGW 4.6.2 32 bit on windows 7 64 bit without problems.[quote author="irobot" date="1371914695"]
Another thing is in Options > Build and run>Qt Version under the Autodetected block I have " ! Qt 5.0.2 MinGW 32bit E:\Qt\5.0.2\mingw47_32\bin\qmake.exe". If you have not noticed, I have an exclamation mark before Qt 5.0.2.
[/quote]
The exclamation mark is probably displayed as an icon. IIRC it should give some explanations when you click on it. -
No it's the yellow one not the red.
-
Anyway, it should give you an hint on what is wrong when clicking on it. If not, ensure that the details panel is hidden.
-
Version name: Qt 5.0.2 MingW 32bit
qmake location : C:\Qt\Qt5.0.2\5.0.2\mingw47_32\bin\qmake.exe
qmlscene not installed
qmlviewer not installedWhen I use the Qt 5.0.2 for Desktop prompt, I have :
@
Setting up environment for Qt usage...C:\Qt\Qt5.0.2\5.0.2\mingw47_32>cd E:\tepan2\Qt project\2
C:\Qt\Qt5.0.2\5.0.2\mingw47_32>E:
E:\tepan2\Qt project\2>qmake -project
E:\tepan2\Qt project\2>mingw32-make
mingw32-make: *** No targets specified and no makefile found. Stop.E:\tepan2\Qt project\2>qmake -d
DEBUG 1: Resetting dir to: E:\tepan2\Qt project\2
DEBUG 1: Changing dir to: E:\tepan2\Qt project\2
DEBUG 1: visiting file C:/Qt/Qt5.0.2/5.0.2/mingw47_32/mkspecs/features/spec_pre.
prf
DEBUG 1: C:/Qt/Qt5.0.2/5.0.2/mingw47_32/mkspecs/features/spec_pre.prf: entering
block
DEBUG 1: C:/Qt/Qt5.0.2/5.0.2/mingw47_32/mkspecs/features/spec_pre.prf: leaving b
lock, okey=true
DEBUG 1: done visiting file C:/Qt/Qt5.0.2/5.0.2/mingw47_32/mkspecs/features/spec
_pre.prf
DEBUG 1: visiting file C:/Qt/Qt5.0.2/5.0.2/mingw47_32/mkspecs/win32-g++/qmake.co
nf
DEBUG 1: C:/Qt/Qt5.0.2/5.0.2/mingw47_32/mkspecs/win32-g++/qmake.conf: entering b
lock
DEBUG 1: C:/Qt/Qt5.0.2/5.0.2/mingw47_32/mkspecs/win32-g++/qmake.conf: leaving bl
ock, okey=true
DEBUG 1: done visiting file C:/Qt/Qt5.0.2/5.0.2/mingw47_32/mkspecs/win32-g++/qma
ke.conf
DEBUG 1: visiting file C:/Qt/Qt5.0.2/5.0.2/mingw47_32/mkspecs/features/spec_post
.prf
DEBUG 1: C:/Qt/Qt5.0.2/5.0.2/mingw47_32/mkspecs/features/spec_post.prf: entering
block
DEBUG 1: C:/Qt/Qt5.0.2/5.0.2/mingw47_32/mkspecs/features/spec_post.prf: leaving
block, okey=true
DEBUG 1: done visiting file C:/Qt/Qt5.0.2/5.0.2/mingw47_32/mkspecs/features/spec
_post.prf
DEBUG 1: visiting file C:/Qt/Qt5.0.2/5.0.2/mingw47_32/mkspecs/features/default_p
re.prf
DEBUG 1: C:/Qt/Qt5.0.2/5.0.2/mingw47_32/mkspecs/features/default_pre.prf: enteri
ng block
DEBUG 1: C:/Qt/Qt5.0.2/5.0.2/mingw47_32/mkspecs/features/default_pre.prf: leavin
g block, okey=true
DEBUG 1: done visiting file C:/Qt/Qt5.0.2/5.0.2/mingw47_32/mkspecs/features/defa
ult_pre.prf
DEBUG 1: visiting file E:/tepan2/Qt project/2/2.pro
DEBUG 1: E:/tepan2/Qt project/2/2.pro: entering block
DEBUG 1: E:/tepan2/Qt project/2/2.pro:5: TEMPLATE := subdirs
DEBUG 1: E:/tepan2/Qt project/2/2.pro:8: SUBDIRS := 2.pro sans_titre
DEBUG 1: E:/tepan2/Qt project/2/2.pro:8: leaving block, okey=true
DEBUG 1: done visiting file E:/tepan2/Qt project/2/2.pro
DEBUG 1: visiting file C:/Qt/Qt5.0.2/5.0.2/mingw47_32/mkspecs/features/default_p
ost.prf
DEBUG 1: C:/Qt/Qt5.0.2/5.0.2/mingw47_32/mkspecs/features/default_post.prf: enter
ing block
DEBUG 1: C:/Qt/Qt5.0.2/5.0.2/mingw47_32/mkspecs/features/default_post.prf: leavi
ng block, okey=true
DEBUG 1: done visiting file C:/Qt/Qt5.0.2/5.0.2/mingw47_32/mkspecs/features/defa
ult_post.prf
MAKEFILE_GENERATOR variable not set as a result of parsing : 2.pro. Possibly qma
ke was not able to find files included using "include(..)" - enable qmake debugg
ing to investigate more.E:\tepan2\Qt project\2>
@ -
Without the information provided when clicking on the exclamation mark icon, there's only the crystal ball solution or try to install your Qt on the C drive.
-
Sorry I said it in my last post:
@
Version name: Qt 5.0.2 MingW 32bit
qmake location : C:\Qt\Qt5.0.2\5.0.2\mingw47_32\bin\qmake.exe
qmlscene not installed
qmlviewer not installed
@
And I already install it on my C drive. -
When I first read your last post it said "Other solutions ?"
Anyway, unless you're doing qml projects, they are not vital to the development. Can you move your projects in a folder path without any spaces ?
There have always been problems with handling spaces in path.
-
I moved it. Same problem.