Hi, As anybody managed to get LCL-Qt to compile on a 64-bit CentOS 6.6 system? Any hints on how to do this would be much appreciated.
Last night I downloaded the libQtPas v2.5 bindings but LCL-Qt fails to compile with undefined reference to the Qt libraries. That normally indicates a library version mismatch. I have Qt 4.6.2 installed on CentOS, but I only now see that libQtPas was built against Qt 4.5.3 (which doesn't seem available for CentOS 6.6). I also noted that the libQtPas v2.5 web page says it should work up to Qt v4.8, but clearly it doesn't on my system. I also tried to compile my own libQtPas bindings - I could never do it before, and no difference now. :-/ graemeg@devel ~/temp/qt4pas-V2.5_Qt4.5.3 $ /usr/lib64/qt4/bin/qmake Project MESSAGE: Note: This binding version was generated for Qt 4.5.3. Current Qt is 4.6.2 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: BINUX Project MESSAGE: Install location: /usr/lib64 graemeg@devel ~/temp/qt4pas-V2.5_Qt4.5.3 $ make g++ -c -m64 -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -w -D_REENTRANT -fPIC -DBINUX -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/lib64/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtWebKit -I/usr/include -Itmp -o tmp/qt4pas.o src/qt4pas.cpp src/qt4pas.cpp:19:20: error: QtWebKit: No such file or directory In file included from src/qlclwebpage_c.cpp:12, from src/qt4pas.cpp:207: src/qlclwebpage.h:4:20: error: QWebPage: No such file or directory In file included from src/qlclwebview_c.cpp:12, from src/qt4pas.cpp:210: src/qlclwebview.h:4:20: error: QWebView: No such file or directory In file included from src/qt4pas.cpp:201: src/qwebframe_c.cpp: In function ‘QWebHitTestResult__* QWebHitTestResult_create()’: src/qwebframe_c.cpp:14: error: expected type-specifier before ‘QWebHitTestResult’ src/qwebframe_c.cpp:14: error: expected ‘;’ before ‘QWebHitTestResult’ src/qwebframe_c.cpp:14: error: ‘QWebHitTestResult’ was not declared in this scope src/qwebframe_c.cpp: In function ‘void QWebHitTestResult_destroy(QWebHitTestResult__*)’: src/qwebframe_c.cpp:19: error: ‘QWebHitTestResult’ was not declared in this scope src/qwebframe_c.cpp:19: error: expected primary-expression before ‘)’ token src/qwebframe_c.cpp:19: error: expected ‘;’ before ‘handle’ src/qwebframe_c.cpp: In function ‘QWebHitTestResult__* QWebHitTestResult_create2(QWebHitTestResult__*)’: src/qwebframe_c.cpp:24: error: expected type-specifier before ‘QWebHitTestResult’ src/qwebframe_c.cpp:24: error: expected ‘;’ before ‘QWebHitTestResult’ src/qwebframe_c.cpp:24: error: ISO C++ forbids declaration of ‘type name’ with no type src/qwebframe_c.cpp:24: error: ISO C++ forbids declaration of ‘type name’ with no type src/qwebframe_c.cpp:24: error: expected primary-expression before ‘const’ src/qwebframe_c.cpp:24: error: expected ‘)’ before ‘const’ src/qwebframe_c.cpp: In function ‘bool QWebHitTestResult_isNull(QWebHitTestResult__*)’: src/qwebframe_c.cpp:29: error: ‘QWebHitTestResult’ was not declared in this scope src/qwebframe_c.cpp:29: error: expected primary-expression before ‘)’ token src/qwebframe_c.cpp:29: error: expected ‘)’ before ‘handle’ .....cut a lot more errors..... In file included from src/qt4pas.cpp:298: src/qwebview_hook_c.cpp:67: error: expected ‘;’ at end of input src/qwebview_hook_c.cpp:67: error: expected ‘}’ at end of input In file included from src/qlclwebview_c.cpp:12, from src/qt4pas.cpp:210: src/qlclwebview.h: In constructor ‘QLCLWebView::QLCLWebView(QWidget*)’: src/qlclwebview.h:13: error: class ‘QLCLWebView’ does not have any field named ‘QWebView’ src/qlclwebview.h:14: error: ‘createWindowOverride’ was not declared in this scope src/qlclwebview.h: In member function ‘void QLCLWebView::override_createWindow(QOverrideHook)’: src/qlclwebview.h:19: error: ‘createWindowOverride’ was not declared in this scope src/qlclwebview.h: At global scope: src/qlclwebview.h:20: error: expected unqualified-id at end of input make: *** [tmp/qt4pas.o] Error 1 Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
