Qt in 64-Bit erstellen?
Verfasst: 8. März 2011 17:42
Hallo,
ACHTUNG: Titel und Fragestellung von "Qt 64-Bit auf einem 32-Bit System erstellen" in Qt in 64-Bit erstellen? geändert!!!
das Framework bzw. Qt(qt-everywhere-commercial-src-4.7.2.tar.gz) soll in 64-Bit erstellt werden um entsprechende Anwendungen erzeugen zu können. Als Entwicklungsumgebung wird Windows 7 Pro in der 32-Bit Variante verwendet und der GCC bzw MinGW als Kompiler. Dazu habe ich vom MinGW-w64 das Paket (Toolchains targetting Win64 -> Personal Builds -> sezero_20101003 -> mingw-w64-bin_i686-mingw_20101003_sezero.zip) heruntergeladen.
Die erforderlichen Pakete unter den Windows Requirements wurden installiert. Anstelle von dem "Microsoft's DirectX Software Development Kit" und "Microsoft's Windows Server 2003 R2 Platform SDK" habe ich allerdings das "Microsoft Windows SDK for Windows 7" verwendet.
Leider erhalte ich beim Kompilieren den nachfolgenden Fehler. Weshalb kann "project.o" nicht gefunden bzw. erstellt werden und welche zusätzlichen Schritte sind dafür ggf. erforderlich?
ACHTUNG: Titel und Fragestellung von "Qt 64-Bit auf einem 32-Bit System erstellen" in Qt in 64-Bit erstellen? geändert!!!
das Framework bzw. Qt(qt-everywhere-commercial-src-4.7.2.tar.gz) soll in 64-Bit erstellt werden um entsprechende Anwendungen erzeugen zu können. Als Entwicklungsumgebung wird Windows 7 Pro in der 32-Bit Variante verwendet und der GCC bzw MinGW als Kompiler. Dazu habe ich vom MinGW-w64 das Paket (Toolchains targetting Win64 -> Personal Builds -> sezero_20101003 -> mingw-w64-bin_i686-mingw_20101003_sezero.zip) heruntergeladen.
Die erforderlichen Pakete unter den Windows Requirements wurden installiert. Anstelle von dem "Microsoft's DirectX Software Development Kit" und "Microsoft's Windows Server 2003 R2 Platform SDK" habe ich allerdings das "Microsoft Windows SDK for Windows 7" verwendet.
Leider erhalte ich beim Kompilieren den nachfolgenden Fehler. Weshalb kann "project.o" nicht gefunden bzw. erstellt werden und welche zusätzlichen Schritte sind dafür ggf. erforderlich?
Code: Alles auswählen
C:\qt>configure -platform win32-g++ -qt-sql-sqlite -release -fast
Reading license file in.....C:\Users\Max Mustermann/.qt-license
This is the Qt for Windows FullFramework Edition.
You are licensed to use this software under the terms of
the Qt COMMERCIAL LICENSE AGREEMENT.
Type '?' to view the Qt COMMERCIAL LICENSE AGREEMENT.
Type 'y' to accept this license offer.
Type 'n' to decline this license offer.
Do you accept the terms of the license?
y
Environment:
INCLUDE=
c:\qt\include
c:\Programme\Microsoft SDKs\Windows\v7.0\Include
LIB=
c:\qt\lib
c:\Programme\Microsoft SDKs\Windows\v7.0\Lib
PATH=
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Program Files\TortoiseSVN\bin
c:\mingw\bin
c:\qt\bin
c:\mysql\bin
c:\mysql\lib\opt
c:\mysql\lib\debug
c:\perl\bin
c:\perl\site\bin
Licensee....................Max Mustermann
License ID..................2541819
Product license.............FullFramework Edition
Expiry Date.................
Configuration:
minimal-config
small-config
medium-config
large-config
full-config
release
Qt Configuration:
release
zlib
png
accessibility
qt3support
opengl
s60
ipv6
script
scripttools
xmlpatterns
multimedia
audio-backend
declarative
native-gestures
svg
minimal-config
small-config
medium-config
large-config
full-config
QMAKESPEC...................win32-g++ (commandline)
Architecture................windows
Maketool....................mingw32-make
Debug symbols...............no
Link Time Code Generation...no
Accessibility support.......yes
STL support.................yes
Exception support...........yes
RTTI support................yes
MMX support.................yes
3DNOW support...............no
SSE support.................yes
SSE2 support................yes
IWMMXT support..............no
OpenGL support..............yes
OpenVG support..............no
OpenSSL support.............no
QtDBus support..............no
QtXmlPatterns support.......yes
Phonon support..............no
QtMultimedia support........yes
WebKit support..............yes
Declarative support.........yes
Declarative debugging.......yes
QtScript support............yes
QtScriptTools support.......yes
Graphics System.............raster
Qt3 compatibility...........yes
Third Party Libraries:
ZLIB support............qt
GIF support.............plugin
TIFF support............plugin
JPEG support............plugin
PNG support.............yes
MNG support.............plugin
FreeType support........no
Styles:
Windows.................yes
Windows XP..............no
Windows Vista...........no
Plastique...............yes
Cleanlooks..............yes
Motif...................yes
CDE.....................yes
Windows CE..............no
Windows Mobile..........no
S60.....................no
Sql Drivers:
ODBC....................no
MySQL...................no
OCI.....................no
PostgreSQL..............no
TDS.....................no
DB2.....................no
SQLite..................yes (qt)
SQLite2.................no
InterBase...............no
Sources are in..............C:\qt
Build is done in............C:\qt
Install prefix..............C:\qt
Headers installed to........C:/qt/include
Libraries installed to......C:/qt/lib
Plugins installed to........C:/qt/plugins
Imports installed to........C:/qt/imports
Binaries installed to.......C:/qt/bin
Docs installed to...........C:/qt/doc
Data installed to...........C:/qt
Translations installed to...C:/qt/translations
Examples installed to.......C:/qt/examples
Demos installed to..........C:/qt/demos
Running syncqt...
header (master) created for QtCore
headers.pri file created for QtCore
header (master) created for QtDeclarative
headers.pri file created for QtDeclarative
header (master) created for QtXml
headers.pri file created for QtXml
header (master) created for QtNetwork
headers.pri file created for QtNetwork
headers.pri file created for QtXmlPatterns
header (master) created for ActiveQt
headers.pri file created for ActiveQt
headers.pri file created for QtSql
header (master) created for QtGui
headers.pri file created for QtGui
header (master) created for QtDesigner
headers.pri file created for QtDesigner
header (master) created for Qt3Support
headers.pri file created for Qt3Support
Creating qmake...
g++ -c -oproject.o -O -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Ige
nerators/mac -Igenerators/symbian -IC:\qt/include -IC:\qt/include/QtCore -IC:\qt
/include -IC:\qt/include/QtCore -IC:\qt/src/corelib/global -IC:\qt/src/corelib/x
ml -IC:\qt/mkspecs/win32-g++ -IC:\qt/tools/shared -DQT_NO_TEXTCODEC -DQT_NO_UNIC
ODETABLES -DQT_LITE_COMPONENT -DQT_NO_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRE
SS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT
-DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_BOOTSTRAPPED -DQLIBRARYINFO_EPOCROO
T project.cpp
process_begin: CreateProcess(NULL, g++ -c -oproject.o -O -I. -Igenerators -Igene
rators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -IC:\qt/inc
lude -IC:\qt/include/QtCore -IC:\qt/include -IC:\qt/include/QtCore -IC:\qt/src/c
orelib/global -IC:\qt/src/corelib/xml -IC:\qt/mkspecs/win32-g++ -IC:\qt/tools/sh
ared -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO_PCRE -D
QT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_QM
AKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_
BOOTSTRAPPED -DQLIBRARYINFO_EPOCROOT project.cpp, ...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.
mingw32-make: *** [project.o] Error 2
del project.o main.o makefile.o unixmake.o unixmake2.o mingw_make.o option.o win
makefile.o projectgenerator.o property.o meta.o makefiledeps.o metamakefile.o xm
loutput.o pbuilder_pbx.o borland_bmake.o msvc_nmake.o msvc_vcproj.o msvc_vcxproj
.o msvc_objectmodel.o msbuild_objectmodel.o symmake.o initprojectdeploy_symbian.
o symmake_abld.o symmake_sbsv2.o symbiancommon.o registry.o epocroot.o qbitarray
.o qbuffer.o qbytearray.o qcryptographichash.o qvsnprintf.o qbytearraymatcher.o
qconfig.o qdatetime.o qdir.o qdiriterator.o qfile.o qtemporaryfile.o qfileinfo.o
qabstractfileengine.o qfsfileengine.o qfsfileengine_iterator.o qfsfileengine_wi
n.o qfsfileengine_iterator_win.o qglobal.o qhash.o qiodevice.o qlibraryinfo.o ql
ist.o qlinkedlist.o qlocale.o qmalloc.o qmap.o qregexp.o qtextcodec.o qutfcodec.
o qstring.o qstringlist.o qsystemlibrary.o qtextstream.o quuid.o qvector.o qurl.
o qsettings.o qsettings_win.o qvariant.o qmetatype.o qxmlstream.o qxmlutils.o qn
umeric.o
C:\qt\qmake\project.o konnte nicht gefunden werden
g++ -c -oproject.o -O -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Ige
nerators/mac -Igenerators/symbian -IC:\qt/include -IC:\qt/include/QtCore -IC:\qt
/include -IC:\qt/include/QtCore -IC:\qt/src/corelib/global -IC:\qt/src/corelib/x
ml -IC:\qt/mkspecs/win32-g++ -IC:\qt/tools/shared -DQT_NO_TEXTCODEC -DQT_NO_UNIC
ODETABLES -DQT_LITE_COMPONENT -DQT_NO_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRE
SS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT
-DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_BOOTSTRAPPED -DQLIBRARYINFO_EPOCROO
T project.cpp
process_begin: CreateProcess(NULL, g++ -c -oproject.o -O -I. -Igenerators -Igene
rators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -IC:\qt/inc
lude -IC:\qt/include/QtCore -IC:\qt/include -IC:\qt/include/QtCore -IC:\qt/src/c
orelib/global -IC:\qt/src/corelib/xml -IC:\qt/mkspecs/win32-g++ -IC:\qt/tools/sh
ared -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO_PCRE -D
QT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_QM
AKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_
BOOTSTRAPPED -DQLIBRARYINFO_EPOCROOT project.cpp, ...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.
mingw32-make: *** [project.o] Error 2
Building qmake failed, return code 2