I try to build on Mac osx New Lions 10.7.2 & qt -> qmake -v
QMake version 2.01a
Using Qt version 4.8.0 in /Developer/qt/lib
g++ -c -pipe -g -gdwarf-2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -Wall -W -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/Developer/qt/mkspecs/macx-g++ -I. -I/Developer/qt/lib/QtCore.framework/Versions/4/Headers -I/Developer/qt/include/QtCore -I/Developer/qt/lib/QtNetwork.framework/Versions/4/Headers -I/Developer/qt/include/QtNetwork -I/Developer/qt/lib/QtGui.framework/Versions/4/Headers -I/Developer/qt/include/QtGui -I/Developer/qt/include -I. -I. -F/Developer/qt/lib -o conversationserver.o conversationserver.cpp
conversationserver.cpp: In member function ‘virtual void ConversationServer::incomingConnection(int)’:
conversationserver.cpp:189: error: cast from ‘const char*’ to ‘quint32’ loses precision
make: *** [conversationserver.o] Error 1
g++ -c -pipe -g -gdwarf-2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -Wall -W -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/Developer/qt/mkspecs/macx-g++ -I. -I/Developer/qt/lib/QtCore.framework/Versions/4/Headers -I/Developer/qt/include/QtCore -I/Developer/qt/lib/QtNetwork.framework/Versions/4/Headers -I/Developer/qt/include/QtNetwork -I/Developer/qt/lib/QtGui.framework/Versions/4/Headers -I/Developer/qt/include/QtGui -I/Developer/qt/include -I. -I. -F/Developer/qt/lib -o conversationserver.o conversationserver.cpp
conversationserver.cpp: In member function ‘virtual void ConversationServer::incomingConnection(int)’:
conversationserver.cpp:189: error: cast from ‘const char*’ to ‘quint32’ loses precision
make: *** [conversationserver.o] Error 1
To copy to clipboard, switch view to plain text mode
Bookmarks