manekineko
11th March 2010, 21:12
I have previously recompiled Qt 4.5 in msys on Windows without any difficulties. However, following what I believe are the same procedures on Qt 4.6, I'm getting the following problem when I run configure -opensource -platform win32-g++
Creating qmake. Please wait...
rm: cannot remove directory `mkspecs/default': Is a directory
ln: creating symbolic link `mkspecs/default/win32-g++' to `win32-g++': No such f
ile or directory
g++ -c -o project.o -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators -Igenerators/un
ix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -I/c/qt/2010.02.1/qt
/include -I/c/qt/2010.02.1/qt/include/QtCore -I/c/qt/2010.02.1/qt/src/corelib/gl
obal -I/c/qt/2010.02.1/qt/src/corelib/xml -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOO
TSTRAPPED -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL
-DQT_NO_COMPRESS -I/c/qt/2010.02.1/qt/mkspecs/win32-g++ -DHAVE_QCONFIG_CPP -DQT_
NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT project.cpp
project.cpp: In member function 'QStringList& QMakeProject::values(const QString
&, QMap<QString, QStringList>&)':
project.cpp:3101: error: cannot convert 'wchar_t*' to 'CHAR*' for argument '1' t
o 'BOOL GetComputerNameA(CHAR*, DWORD*)'
make.exe: *** [project.o] Error 1
I'm sure I've made some type of a stupid mistake, but why is it looking in mkspecs/default/win32-g++ instead of mkspecs/win32-g++?
Also, are there no longer style configuration options for configure such as -no-style-motif?
Creating qmake. Please wait...
rm: cannot remove directory `mkspecs/default': Is a directory
ln: creating symbolic link `mkspecs/default/win32-g++' to `win32-g++': No such f
ile or directory
g++ -c -o project.o -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators -Igenerators/un
ix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -I/c/qt/2010.02.1/qt
/include -I/c/qt/2010.02.1/qt/include/QtCore -I/c/qt/2010.02.1/qt/src/corelib/gl
obal -I/c/qt/2010.02.1/qt/src/corelib/xml -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOO
TSTRAPPED -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL
-DQT_NO_COMPRESS -I/c/qt/2010.02.1/qt/mkspecs/win32-g++ -DHAVE_QCONFIG_CPP -DQT_
NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT project.cpp
project.cpp: In member function 'QStringList& QMakeProject::values(const QString
&, QMap<QString, QStringList>&)':
project.cpp:3101: error: cannot convert 'wchar_t*' to 'CHAR*' for argument '1' t
o 'BOOL GetComputerNameA(CHAR*, DWORD*)'
make.exe: *** [project.o] Error 1
I'm sure I've made some type of a stupid mistake, but why is it looking in mkspecs/default/win32-g++ instead of mkspecs/win32-g++?
Also, are there no longer style configuration options for configure such as -no-style-motif?