iraytrace
29th January 2010, 02:19
I don't seem to be able to build a 64bit application on the Mac platform. I have the LGPL qt-sdk-mac-opensource-2010.01.dmg binary package. My qmake *.pro file is as follows:
QT += network opengl
TARGET = SixtyFour
TEMPLATE = app
CONFIG += x86_64
SOURCES += main.cpp\
MainWindow.cpp
HEADERS += MainWindow.h
FORMS += MainWindow.ui
alas, this generates the message:
/Library/Frameworks/QtCore.framework/Headers/qglobal.h:288:2: error: #error "You are building a 64-bit application, but using a 32-bit version of Qt. Check your build configuration."
On Linux and Windows there is a "configure" script/program that allows configuring Qt. However I haven't found where this ends up on theMac. Is there a way to get/configure a 64bit version of Qt for the Mac? Looking at qt.nokia.com/downloads I didn't see any 64bit Mac SDK for download.
QT += network opengl
TARGET = SixtyFour
TEMPLATE = app
CONFIG += x86_64
SOURCES += main.cpp\
MainWindow.cpp
HEADERS += MainWindow.h
FORMS += MainWindow.ui
alas, this generates the message:
/Library/Frameworks/QtCore.framework/Headers/qglobal.h:288:2: error: #error "You are building a 64-bit application, but using a 32-bit version of Qt. Check your build configuration."
On Linux and Windows there is a "configure" script/program that allows configuring Qt. However I haven't found where this ends up on theMac. Is there a way to get/configure a 64bit version of Qt for the Mac? Looking at qt.nokia.com/downloads I didn't see any 64bit Mac SDK for download.