On 03/11/2015 12:44 PM, FreeMan wrote:
I attached, all errors outputs. system is win8 x64 can some one help what is wrong or how to do build qt4pas5.dll x64? Thank you.
Add -fpermissive to gcc so it should compile then. In that case such errors will become warnings (something like range check on/off in fpc).
z.
qt 4.8.6 binary files from: http://sourceforge.net/projects/qtx64/files/?source=navbar mingw64 files from: http://www.drangon.org/mingw/ qt4pas5 source from http://users.telenet.be/Jan.Van.hijfte/qtforfpc/fpcqt4.html how to from: http://wiki.freepascal.org/Qt_Interface#Quick_start_guide_for_Windows these are my results: d:\Qt\qt4pas-V2.5_Qt4.5.3>qmake -query QT_INSTALL_PREFIX:d:\Qt\4.8.6-w64 QT_INSTALL_DATA:d:\Qt\4.8.6-w64 QT_INSTALL_DOCS:d:\Qt\4.8.6-w64\doc QT_INSTALL_HEADERS:d:\Qt\4.8.6-w64\include QT_INSTALL_LIBS:d:\Qt\4.8.6-w64\lib QT_INSTALL_BINS:d:\Qt\4.8.6-w64\bin QT_INSTALL_PLUGINS:d:\Qt\4.8.6-w64\plugins QT_INSTALL_IMPORTS:d:\Qt\4.8.6-w64\imports QT_INSTALL_TRANSLATIONS:d:\Qt\4.8.6-w64\translations QT_INSTALL_CONFIGURATION:d:/Qt/4.8.6-w64 QT_INSTALL_EXAMPLES:d:\Qt\4.8.6-w64\examples QT_INSTALL_DEMOS:d:\Qt\4.8.6-w64\demos QMAKE_MKSPECS:d:\Qt\4.8.6-w64\mkspecs QMAKE_VERSION:2.01a QT_VERSION:4.8.6 d:\Qt\qt4pas-V2.5_Qt4.5.3>qmake Qt4Pas.pro Project MESSAGE: Note: This binding version was generated for Qt 4.5.3. Current Qt is 4.8.6 Project MESSAGE: Qt documents binary compatibility in each Version Change Note: http://qt.nokia.com/developer/changes Project MESSAGE: Pascal Qt Interface for binding platform: MSWINDOWS Project MESSAGE: Install location: d:\Qt\4.8.6-w64\bin d:\Qt\qt4pas-V2.5_Qt4.5.3>make g++ -c -pipe -fno-keep-inline-dllexport -O2 -w -frtti -fexceptions -mthreads -DU NICODE -DMSWINDOWS -DQT_DLL -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETW ORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE 2 -DQT_THREAD_SUPPORT -I"..\4.8.6-w64\include\QtCore" -I"..\4.8.6-w64\include\Qt Network" -I"..\4.8.6-w64\include\QtGui" -I"..\4.8.6-w64\include\QtWebKit" -I"..\ 4.8.6-w64\include" -I"..\4.8.6-w64\include\ActiveQt" -I"tmp" -I"..\4.8.6-w64\mks pecs\win32-g++-4.6" -o tmp\qt4pas.o src\qt4pas.cpp In file included from src\qt4pas.cpp:59:0: src\qwidget_c.cpp: In function 'unsigned int QWidget_winId(QWidgetH)': src\qwidget_c.cpp:29:51: error: cast from 'WId {aka HWND__*}' to 'unsigned int' loses precision [-fpermissive] return (unsigned int) ((QWidget *)handle)->winId(); ^ ................... ........... make: *** [tmp/qt4pas.o] Error 1 -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus