Hi!
I use this config options too, without -no-rpath.
Here is the build log's config summary part:
----------------------------------------------
Configure summary
Build type: linux-g++ (x86_64, CPU features: mmx sse sse2)
Platform notes:
- Also available for Linux: linux-kcc linux-icc linux-cxx
qmake vars .......... QMAKE_CFLAGS = -march=x86-64 -mtune=generic -O2 -pipe
QMAKE_CXXFLAGS = -march=x86-64 -mtune=generic -O2 -pipe QMAKE_LFLAGS =
-Wl,--hash-style=both styles += mac fusion windows CONFIG +=
use_libmysqlclient_r QT_CFLAGS_DBUS = -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include QT_LIBS_DBUS = -ldbus-1 QT_CFLAGS_GLIB =
-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include QT_LIBS_GLIB
= -pthread -lgthread-2.0 -lrt -lglib-2.0 QT_CFLAGS_QGTKSTYLE = -pthread
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/libdrm
-I/usr/include/harfbuzz QT_LIBS_QGTKSTYLE = -lgobject-2.0 -lglib-2.0
QT_CFLAGS_QGTK2 = -pthread -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/
include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14
-I/usr/include/libdrm -I/usr/include/harfbuzz QT_LIBS_QGTK2 =
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0
-lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfontconfig
-lgobject-2.0 -lglib-2.0 -lfreetype QT_CFLAGS_GSTREAMER = -pthread
-I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2 QT_LIBS_GSTREAMER =
-pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt
-lxml2 -lglib-2.0 QT_CFLAGS_PULSEAUDIO = -D_REENTRANT
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include QT_LIBS_PULSEAUDIO =
-lpulse-mainloop-glib -lpulse -lglib-2.0 QMAKE_CFLAGS_FONTCONFIG =
-I/usr/include/freetype2 QMAKE_LIBS_FONTCONFIG = -lfontconfig -lfreetype
QMAKE_INCDIR_LIBUDEV = QMAKE_LIBS_LIBUDEV = -ludev DEFINES +=
QT_NO_XKB QMAKE_CFLAGS_XKBCOMMON = QMAKE_LIBS_XKBCOMMON = -lxkbcommon
QMAKE_VERSION_XKBCOMMON = 0.3.1 QMAKE_CFLAGS_XCB = QMAKE_LIBS_XCB =
-lxcb-sync -lxcb-xfixes -lxcb-render -lxcb-shape -lxcb-randr -lxcb-image
-lxcb-shm -lxcb-keysyms -lxcb-icccm -lxcb PRECOMPILED_DIR =
.pch/release-shared OBJECTS_DIR = .obj/release-shared MOC_DIR =
.moc/release-shared RCC_DIR = .rcc/release-shared UI_DIR =
.uic/release-shared sql-drivers = sql-plugins = ibase mysql odbc psql
sqlite sqlite2 tds qmake switches .........
Build options:
Configuration .......... accessibility accessibility-atspi-bridge alsa
audio-backend avx avx2 c++11 clock-gettime clock-monotonic compile_examples
concurrent cups dbus dbus-linked evdev eventfd fontconfig full-config
getaddrinfo getifaddrs glib gstreamer gtk2 gtkstyle iconv icu inotify
ipv6ifname large-config largefile libudev linuxfb medium-config
minimal-config mremap nis opengl openssl-linked openvg pcre png
precompile_header pulseaudio qpa qpa reduce_exports reduce_relocations
release rpath shared small-config sse2 sse3 sse4_1 sse4_2 ssse3
system-freetype system-jpeg system-png system-sqlite system-zlib v8
v8snapshot xcb xcb-glx xcb-render xcb-xlib xinput2 xlib xrender
Build parts ............ libs tools examples
Mode ................... release
Using C++11 ............ yes
Using PCH .............. yes
Target compiler supports:
SSE2/SSE3/SSSE3 ...... yes/yes/yes
SSE4.1/SSE4.2 ........ yes/yes
AVX/AVX2 ............. yes/yes
Qt modules and options:
Qt D-Bus ............... yes (linked to dbus-1)
Qt Concurrent .......... yes
Qt GUI ................. yes
Qt Widgets ............. yes
JavaScriptCore JIT ..... yes (To be decided by JavaScriptCore)
QML debugging .......... yes
Use system proxies ..... no
Support enabled for:
Accessibility .......... yes
ALSA ................... yes
CUPS ................... yes
FontConfig ............. yes
Iconv .................. yes
ICU .................... yes
Image formats:
GIF .................. yes (plugin, using system library)
JPEG ................. yes (plugin, using system library)
PNG .................. yes (in QtGui, using system library)
Glib ................... yes
GStreamer .............. yes
GTK theme .............. yes
Large File ............. yes
libudev ................ yes
Networking:
getaddrinfo .......... yes
getifaddrs ........... yes
IPv6 ifname .......... yes
OpenSSL .............. yes (linked to the libraries)
NIS .................... yes
OpenGL ................. desktop
OpenVG ................. yes-auto
PCRE ................... yes (bundled copy)
pkg-config ............. yes
PulseAudio ............. yes
QPA backends:
DirectFB ............. no
EGLFS ................ no
KMS .................. no
LinuxFB .............. yes
XCB .................. yes (system library)
MIT-SHM ............ yes
Xcursor ............ yes (loaded at runtime)
Xfixes ............. yes (loaded at runtime)
Xi ................. no
Xi2 ................ yes
Xinerama ........... yes (loaded at runtime)
Xrandr ............. yes (loaded at runtime)
Xrender ............ yes
XKB ................ no
XShape ............. yes
XSync .............. yes
XVideo ............. yes
Session management ..... yes
SQL drivers:
DB2 .................. no
InterBase ............ yes (plugin)
MySQL ................ yes (plugin)
OCI .................. no
ODBC ................. yes (plugin)
PostgreSQL ........... yes (plugin)
SQLite 2 ............. yes (plugin)
SQLite ............... yes (plugin, using system library)
TDS .................. yes (plugin)
udev ................... yes
xkbcommon .............. yes
zlib ................... yes (system library)
NOTE: When linking against OpenSSL, you can override the default
library names through OPENSSL_LIBS.
For example:
OPENSSL_LIBS='-L/opt/ssl/lib -lssl -lcrypto' ./configure -openssl-linked
Qt is now configured for building. Just run 'make'.
Once everything is built, you must run 'make install'.
Qt will be installed into /usr
Prior to reconfiguration, make sure you remove any leftovers from
the previous build.
----------------------------------------------
So just need to add -no-rpath options.
The examples is an optional package, as in qt4's demos.
My question: I use 'makepkg -a' for build, so I get this output(for
example) in the end:
--------------------------------------------------
==> Generating files for libqt5webkit:
-> .PKGINFO file...
-> .CHANGELOG file...
-> .FILELIST file...
-> Compressing libqt5webkit-5.1.1-1-x86_64.fpm
==> Searching for depends...
==> WARNING: Do not use this information without thinking!
WARNING: No package found containing libQt5Quick.so.5!
WARNING: No package found containing
/var/tmp/fst/src/qt-everywhere-opensource-src-5.1.1/qtbase/lib/libQt5OpenGL.so.5!
WARNING: No package found containing
/var/tmp/fst/src/qt-everywhere-opensource-src-5.1.1/qtbase/lib/libQt5PrintSupport.so.5!
WARNING: No package found containing libQt5WebKit.so.5!
WARNING: No package found containing libQt5Qml.so.5!
WARNING: No package found containing
/var/tmp/fst/src/qt-everywhere-opensource-src-5.1.1/qtbase/lib/libQt5Widgets.so.5!
WARNING: No package found containing
/var/tmp/fst/src/qt-everywhere-opensource-src-5.1.1/qtbase/lib/libQt5Sql.so.5!
WARNING: No package found containing
/var/tmp/fst/src/qt-everywhere-opensource-src-5.1.1/qtbase/lib/libQt5Network.so.5!
WARNING: No package found containing libQt5Sensors.so.5!
WARNING: No package found containing
/var/tmp/fst/src/qt-everywhere-opensource-src-5.1.1/qtbase/lib/libQt5Gui.so.5!
WARNING: No package found containing
/var/tmp/fst/src/qt-everywhere-opensource-src-5.1.1/qtbase/lib/libQt5Core.so.5!
WARNING: No package found containing
/var/tmp/fst/src/qt-everywhere-opensource-src-5.1.1/qtwebkit/lib/libQt5WebKitWidgets.so.5!
WARNING: No package found containing
/var/tmp/fst/src/qt-everywhere-opensource-src-5.1.1/qtwebkit/lib/libQt5WebKit.so.5!
depends=('gst-plugins-base' 'sqlite3' 'libgl' 'libpng' 'icu4c' 'libxrender'
'libxcomposite' 'libjpeg')
--------------------------------------------------
If the libs are same:
"/var/tmp/fst/src/qt-everywhere-opensource-src-5.1.1/qtbase/lib/libQt5OpenGL.so.5"
Is it makedepends? (in this example: libqt5opengl package)
If the libs are same: "libQt5Quick.so.5"
Is it depends? (in this example: linqt5quick package)
I use all as rodepends, but if the first example just makedepends, should
remove this in rodepends.
_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel