| Trolltech Home | Qt4-preview-feedback Home | Recent Threads | All Threads | Author | Date | |
| All threads index page 1 | |
Hello, I have try to build it under CentOS 5.1 but will fail with: make[1]: Entering directory `/tmp/qt-x11-preview-opensource-src-4.4.0-tp1/src/gui' g++ -c -include .pch/release-shared/QtGui -pipe -g -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_44_API_QSQLQUERY_FINISH -DQT_MOC_COMPAT -DQT_RASTER_IMAGEENGINE -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtGui -I/usr/include/freetype2 -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared -I/usr/X11R6/include -I.uic/release-shared -o .obj/release-shared/qapplication_x11.o kernel/qapplication_x11.cpp kernel/qapplication_x11.cpp: In function 'void qt_init(QApplicationPrivate*, int, Display*, Qt::HANDLE, Qt::HANDLE)': kernel/qapplication_x11.cpp:1702: error: 'ptrXcursorLibraryLoadCursor' was not declared in this scope kernel/qapplication_x11.cpp:1702: error: 'XcursorLibraryLoadCursor' was not declared in this scope kernel/qapplication_x11.cpp:1718: error: 'ptrXineramaQueryScreens' was not declared in this scope kernel/qapplication_x11.cpp:1719: error: 'ptrXineramaIsActive' was not declared in this scope kernel/qapplication_x11.cpp:1720: error: 'ptrXineramaQueryExtension' was not declared in this scope make[1]: *** [.obj/release-shared/qapplication_x11.o] Error 1 make[1]: Leaving directory `/tmp/qt-x11-preview-opensource-src-4.4.0-tp1/src/gui' make: *** [sub-gui-make_default-ordered] Error 2 configure call: ./configure -release -fast -largefile -exceptions -accessibility -stl -plugin-sql-mysql -plugin-sql-odbc -plugin-sql-sqlite -system -sqlite -no-qt3support -xmlpatterns -phonon -webkit -system-zlib -qt-gif -system-libtiff -system-libpng -system-libmng -system-libj peg -openssl -nomake demos -nomake examples -v -optimized-qmake -nis -cups -iconv -pch -qdbus -reduce-relocations -system-nas-sound -opengl -sm -xshape -xinerama -xcursor -xfixes -xrandr -xrender -fontconfig -tablet -xkb -glib is this an known problem? Thanks To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx
frank-buettner@xxxxxxx wrote: > .obj/release-shared/qapplication_x11.o kernel/qapplication_x11.cpp > kernel/qapplication_x11.cpp: In function 'void > qt_init(QApplicationPrivate*, int, Display*, Qt::HANDLE, Qt::HANDLE)': > kernel/qapplication_x11.cpp:1702: error: 'ptrXcursorLibraryLoadCursor' was > not declared in this scope > kernel/qapplication_x11.cpp:1702: error: 'XcursorLibraryLoadCursor' was > not declared in this scope > kernel/qapplication_x11.cpp:1718: error: 'ptrXineramaQueryScreens' was not > declared in this scope > kernel/qapplication_x11.cpp:1719: error: 'ptrXineramaIsActive' was not > declared in this scope > kernel/qapplication_x11.cpp:1720: error: 'ptrXineramaQueryExtension' was > not declared in this scope > make[1]: *** [.obj/release-shared/qapplication_x11.o] Error 1 > make[1]: Leaving directory > `/tmp/qt-x11-preview-opensource-src-4.4.0-tp1/src/gui' > make: *** [sub-gui-make_default-ordered] Error 2 > is this an known problem? Apparently, confirmed also on fedora. Attached is a patch I'm trying. -- Rex
diff -ur qt-x11-preview-opensource-src-4.4.0-tp1/src/gui/kernel/qapplication_x11.cpp qt-x11-preview-opensource-src-4.4.0-tp1-fix-build/src/gui/kernel/qapplication_x11.cpp
diff -ur qt-x11-preview-opensource-src-4.4.0-tp1/src/gui/kernel/qapplication_x11.cpp qt-x11-preview-opensource-src-4.4.0-tp1-fix-build/src/gui/kernel/qapplication_x11.cpp
--- qt-x11-preview-opensource-src-4.4.0-tp1/src/gui/kernel/qapplication_x11.cpp 2007-12-18 11:52:08.000000000 +0100
+++ qt-x11-preview-opensource-src-4.4.0-tp1-fix-build/src/gui/kernel/qapplication_x11.cpp 2007-12-19 17:11:54.000000000 +0100
@@ -97,6 +97,10 @@
#include <X11/extensions/Xfixes.h>
#endif // QT_NO_XFIXES
+#if !defined(QT_NO_XCURSOR) && !defined(QT_RUNTIME_XCURSOR)
+#include <X11/Xcursor/Xcursor.h>
+#endif
+
#include "qt_x11_p.h"
#include "qx11info_x11.h"
@@ -1699,7 +1703,7 @@
(PtrXcursorLibraryLoadCursor) xcursorLib.resolve("XcursorLibraryLoadCursor");
}
#else
- ptrXcursorLibraryLoadCursor = XcursorLibraryLoadCursor;
+ X11->ptrXcursorLibraryLoadCursor = XcursorLibraryLoadCursor;
#endif // QT_RUNTIME_XCURSOR
#endif // QT_NO_XCURSOR
@@ -1715,9 +1719,9 @@
(PtrXineramaQueryScreens) xineramaLib.resolve("XineramaQueryScreens");
}
#else
- ptrXineramaQueryScreens = XineramaQueryScreens;
- ptrXineramaIsActive = XineramaIsActive;
- ptrXineramaQueryExtension = XineramaQueryExtension;
+ X11->ptrXineramaQueryScreens = XineramaQueryScreens;
+ X11->ptrXineramaIsActive = XineramaIsActive;
+ X11->ptrXineramaQueryExtension = XineramaQueryExtension;
#endif // QT_RUNTIME_XINERAMA
#endif // QT_NO_XINERAMA
Rex Dieter schrieb: > frank-buettner@xxxxxxx wrote: > > >> .obj/release-shared/qapplication_x11.o kernel/qapplication_x11.cpp >> kernel/qapplication_x11.cpp: In function 'void >> qt_init(QApplicationPrivate*, int, Display*, Qt::HANDLE, Qt::HANDLE)': >> kernel/qapplication_x11.cpp:1702: error: 'ptrXcursorLibraryLoadCursor' was >> not declared in this scope >> kernel/qapplication_x11.cpp:1702: error: 'XcursorLibraryLoadCursor' was >> not declared in this scope >> kernel/qapplication_x11.cpp:1718: error: 'ptrXineramaQueryScreens' was not >> declared in this scope >> kernel/qapplication_x11.cpp:1719: error: 'ptrXineramaIsActive' was not >> declared in this scope >> kernel/qapplication_x11.cpp:1720: error: 'ptrXineramaQueryExtension' was >> not declared in this scope >> make[1]: *** [.obj/release-shared/qapplication_x11.o] Error 1 >> make[1]: Leaving directory >> `/tmp/qt-x11-preview-opensource-src-4.4.0-tp1/src/gui' >> make: *** [sub-gui-make_default-ordered] Error 2 > >> is this an known problem? > > Apparently, confirmed also on fedora. > > Attached is a patch I'm trying. > > -- Rex > Yes this patch do it:) I hope TT will fix it soon. Thanks
Attachment:
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature