Onega

a lot of VC++ posts, a few C# posts, and some miscellaneous stuff

Saturday, December 29, 2012

Build qt-everywhere-opensource-src-5.0.0.tar.gz on CentOS 6.3 64bit

Here is my notes of building qt-everywhere-opensource-src-5.0.0.tar.gz on CentOS 6.3 64bit.
Actually I started on CentOS 5.6 32bit, but got some opengl related compile errors. Even "-no-opengl" is passed to configure, but there are still a lot of opengl related compile errors. So I thought opengl on CentOS is too old and switched to CentOS 6.3. But there are opengl errors with "-no-opengl" option too. At last I installed gtkglext-devel and removed "-no-opengl" option. The following is working on my system.
tar xvzf /mnt/host_c/workspace/qt-everywhere-opensource-src-5.0.0.tar.gz
sudo yum install gtkglext-devel.i686 gtkglext-devel.x86_64
./configure -prefix %CD%\qtbase -opensource -confirm-license -no-xcb  -nomake tests -nomake examples -nomake demos; time gmake
[onega@localhost qt-everywhere-opensource-src-5.0.0]$ du -hs .
1.9G
[onega@localhost qt-everywhere-opensource-src-5.0.0]$ cat qtbase/config.summary

Build type: linux-g++-64
Architecture:  x86_64, features: mmx sse sse2
Host architecture: x86_64, features: mmx sse sse2
Platform notes:

        - Also available for Linux: linux-kcc linux-icc linux-cxx
  
Build .................. libs tools
Configuration ..........  qpa largefile precompile_header sse2 sse3 ssse3 sse4_1 sse4_2 avx pcre  minimal-config small-config medium-config large-config full-config fontconfig evdev xlib xrender linuxfb c++11 accessibility opengl shared qpa reduce_exports reduce_relocations clock-gettime clock-monotonic mremap getaddrinfo ipv6ifname getifaddrs inotify system-png png system-freetype system-zlib nis iconv glib rpath concurrent audio-backend v8 v8snapshot release
Debug .................. no
C++11 support .......... yes
pkg-config ............. yes
QtDBus module .......... no
QtConcurrent code ...... yes
QtGui module ........... yes
QtWidgets module ....... yes
JavaScriptCore JIT ..... To be decided by JavaScriptCore
QML debugging .......... yes
PCH support ............ yes
SSE2/SSE3/SSSE3......... yes/yes/yes
SSE4.1/SSE4.2........... yes/yes/yes
AVX/AVX2................ yes/no
IPv6 ifname support .... yes
getaddrinfo support .... yes
getifaddrs support ..... yes
Accessibility .......... yes
NIS support ............ yes
CUPS support ........... no
Iconv support .......... yes
Glib support ........... yes
GStreamer support ...... no
PulseAudio support ..... no
Large File support ..... yes
GIF support ............ plugin
JPEG support ........... plugin (qt)
PNG support ............ yes (system)
zlib support ........... system
Session management ..... auto
libudev support ........ no
Use system proxies ..... no
OpenGL support ......... yes (Desktop OpenGL)
OpenVG support ......... no
XShape support ......... auto
XVideo support ......... auto
XSync support .......... auto
Xinerama support ....... runtime
Xcursor support ........ runtime
Xfixes support ......... runtime
Xrandr support ......... runtime
Xi support ............. runtime
Xi2 support ............ auto
MIT-SHM support ........ auto
FontConfig support ..... yes
XKB Support ............ auto
GTK theme support ...... no
SQLite support ......... plugin (qt)
OpenSSL support ........ no
Alsa support ........... no
libICU support ......... no
PCRE support ........... qt
Xcb support ............ no
Xrender support ........ yes
EGLFS support .......... no
DirectFB support ....... no
LinuxFB support ........ yes
KMS support ............ no

0 Comments:

Post a Comment

<< Home