Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
qmake broken?
Hello,
after QT installation qmake doesn't run in -makefile mode.
Environment: Windows XP Sp 2 as Administrator
Steps done are:
- installed MinGW 3.4.5
[components]
runtime=mingw-runtime-3.14.tar.gz
w32api=w32api-3.11.tar.gz
binutils=binutils-2.17.50-20060824-1.tar.gz
core=gcc-core-3.4.5-20060117-1.tar.gz
gpp=gcc-g++-3.4.5-20060117-1.tar.gz
make=mingw32-make-3.81-2.tar.gz
- installed QT 4.3.4
During installation I ignored a warning about w32api version in MinGW.
I have 3.11 version and QT claims 3.2 at least!!
Opening QT command prompt...
Setting up a MinGW/Qt only environment...
-- QTDIR set to C:\Qt\4.3.4
-- PATH set to C:\Qt\4.3.4\bin
-- Adding C:\MinGW\bin to PATH
-- Adding C:\WINDOWS\System32 to PATH
-- QMAKESPEC set to win32-g++
I tried this simply steps:
05/03/2008 16.27 262 main.cpp
05/03/2008 16.27 162 myprojectqtgui.cpp
05/03/2008 16.27 307 myprojectqtgui.h
05/03/2008 16.27 421 myprojectqtgui.ui
6 File(s) 7.239 bytes
2 Dir(s) 23.221.989.376 bytes free
D:\$Develop\learning\CDT\MyProjectQtGui>qmake -project
D:\$Develop\learning\CDT\MyProjectQtGui>qmake -makefile
Error processing project file: D:/$Develop/learning/CDT/MyProjectQtGui/MyProject
QtGui.pro
Any ideas?
I also tried to re-build qmake but I get the same error.
thanks in advance
This post has been edited 1 times, last edit by "vitoing" (Mar 5th 2008, 5:58pm)
RE: qmake broken?
Try to create/build you project in the same disk (C:\).
It is just a wild guess.
Fighting fire with fire.
RE: qmake broken?
Hi,
thanks for the advise. The problem is not the drive but the name
of the root directory of my projects --> $Develop .
Does Qmake tries to resolve $Develop as if unix-like shell variable?
thanks
Vito