public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Qt5
@ 2014-11-12 17:37 siefke_listen
  2014-11-12 17:46 ` Jc García
  0 siblings, 1 reply; 4+ messages in thread
From: siefke_listen @ 2014-11-12 17:37 UTC (permalink / raw
  To: gentoo-user

Hello, 

i want install qt5 with the qt overlay. But i become message 

i686-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -fuse-ld=gold -o ../../../bin/moc .obj/moc.o .obj/preprocessor.o .obj/generator.o .obj/parser.o .obj/token.o .obj/main.o   -L/var/tmp/portage/dev-qt/qtcore-5.4.0_beta/work/qtbase-opensource-src-5.4.0-beta/lib -lQt5Bootstrap -lz -lpthread 
i686-pc-linux-gnu-g++: error: unrecognized command line option ‘-fuse-ld=gold’
Makefile:147: recipe for target '../../../bin/moc' failed
make: *** [../../../bin/moc] Error 1
 * ERROR: dev-qt/qtcore-5.4.0_beta::qt failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-qt/qtcore-5.4.0_beta::qt'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qtcore-5.4.0_beta::qt'`.
 * The complete build log is located at '/var/tmp/portage/dev-qt/qtcore-5.4.0_beta/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtcore-5.4.0_beta/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-qt/qtcore-5.4.0_beta/work/qtbase-opensource-src-5.4.0-beta/src/tools/moc'
 * S: '/var/tmp/portage/dev-qt/qtcore-5.4.0_beta/work/qtbase-opensource-src-5.4.0-beta'


I not really found something what can explain it. Can someone help?


Silvio

/ # emerge --info =dev-qt/qtcore-5.4.0_beta::qt
Portage 2.2.8-r2 (default/linux/x86/13.0/desktop, gcc-4.7.3, glibc-2.19-r1, 3.10.23-xxxx-std-ipv6-64 i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.10.23-xxxx-std-ipv6-64-i686-Intel-R-_Atom-TM-_CPU_N2800_@_1.86GHz-with-gentoo-2.2
KiB Mem:     2026340 total,    507488 free
KiB Swap:    2096124 total,   2058188 free
Timestamp of tree: Wed, 12 Nov 2014 17:00:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.7, 3.3.5-r1, 3.4.1
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.7.3-r1, 4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo pentoo elementary stuff qt
Installed sets: @qt5-addons, @qt5-essentials
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/pentoo /var/lib/layman/elementary /var/lib/layman/stuff /var/lib/layman/qt"
USE="X a52 aac acl acpi alsa berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg lcms libnotify mad mmx mng modules mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds python qt3support qt4 readline sdl session spell sse sse2 sse3 ssl ssse3 startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 x86 xcb xml xv xvid zlib" ABI_X86="32" ALSA_CARDS="hda_intel intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite s
 etenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev void synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en ar fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_3 python2_7" RUBY_TARGETS="ruby20 ruby19" USERLAND="GNU" VIDEO_CARDS="intel vesa fbdev radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee
  tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

/ # emerge -pqv =dev-qt/qtcore-5.4.0_beta::qt


[ebuild  NS   ] dev-qt/qtcore-5.4.0_beta [4.8.5-r2] USE="icu -debug {-test}"


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Qt5
  2014-11-12 17:37 [gentoo-user] Qt5 siefke_listen
@ 2014-11-12 17:46 ` Jc García
  2014-11-12 19:11   ` Andrés Becerra Sandoval
  0 siblings, 1 reply; 4+ messages in thread
From: Jc García @ 2014-11-12 17:46 UTC (permalink / raw
  To: gentoo-user

2014-11-12 11:37 GMT-06:00 siefke_listen@web.de <siefke_listen@web.de>:
> Hello,
>
> i want install qt5 with the qt overlay. But i become message
>
> i686-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -fuse-ld=gold -o ../../../bin/moc .obj/moc.o .obj/preprocessor.o .obj/generator.o .obj/parser.o .obj/token.o .obj/main.o   -L/var/tmp/portage/dev-qt/qtcore-5.4.0_beta/work/qtbase-opensource-src-5.4.0-beta/lib -lQt5Bootstrap -lz -lpthread
> i686-pc-linux-gnu-g++: error: unrecognized command line option ‘-fuse-ld=gold’

>
> / # emerge --info =dev-qt/qtcore-5.4.0_beta::qt
> Portage 2.2.8-r2 (default/linux/x86/13.0/desktop, gcc-4.7.3, glibc-2.19-r1, 3.10.23-xxxx-std-ipv6-64 i686)

> sys-devel/gcc:            4.7.3-r1, 4.8.3

It might be you used gcc 4.7 and is too old to compile qtcore 5, try
to switch the default compiler using gcc-config to 4.8.3, and
recompile again.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Qt5
  2014-11-12 17:46 ` Jc García
@ 2014-11-12 19:11   ` Andrés Becerra Sandoval
  0 siblings, 0 replies; 4+ messages in thread
From: Andrés Becerra Sandoval @ 2014-11-12 19:11 UTC (permalink / raw
  To: gentoo-user

2014-11-12 12:46 GMT-05:00 Jc García <jyo.garcia@gmail.com>:
> 2014-11-12 11:37 GMT-06:00 siefke_listen@web.de <siefke_listen@web.de>:
>> Hello,
>>
>> i want install qt5 with the qt overlay. But i become message
>>
>> i686-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -fuse-ld=gold -o ../../../bin/moc .obj/moc.o .obj/preprocessor.o .obj/generator.o .obj/parser.o .obj/token.o .obj/main.o   -L/var/tmp/portage/dev-qt/qtcore-5.4.0_beta/work/qtbase-opensource-src-5.4.0-beta/lib -lQt5Bootstrap -lz -lpthread
>> i686-pc-linux-gnu-g++: error: unrecognized command line option ‘-fuse-ld=gold’
>
>>
>> / # emerge --info =dev-qt/qtcore-5.4.0_beta::qt
>> Portage 2.2.8-r2 (default/linux/x86/13.0/desktop, gcc-4.7.3, glibc-2.19-r1, 3.10.23-xxxx-std-ipv6-64 i686)
>
>> sys-devel/gcc:            4.7.3-r1, 4.8.3
>
> It might be you used gcc 4.7 and is too old to compile qtcore 5, try
> to switch the default compiler using gcc-config to 4.8.3, and
> recompile again.
>

And qt-5.3 (stable) is in portage, but masked. You could unmask it:


# Davide Pesavento <pesa@gentoo.org> (11 Sep 2014)
# Mask Qt 5.3.x for wider testing to ensure that it does
# not break or conflict with other packages (bug #454132)
=dev-qt/assistant-5.3.2*
=dev-qt/designer-5.3.2*
=dev-qt/linguist-5.3.2*
=dev-qt/linguist-tools-5.3.2*
=dev-qt/pixeltool-5.3.2*
=dev-qt/qdbus-5.3.2*
=dev-qt/qdbusviewer-5.3.2*
=dev-qt/qdoc-5.3.2*
=dev-qt/qtconcurrent-5.3.2*
=dev-qt/qtcore-5.3.2*
=dev-qt/qtdbus-5.3.2*
=dev-qt/qtdeclarative-5.3.2*
=dev-qt/qtdiag-5.3.2*
=dev-qt/qtgraphicaleffects-5.3.2*
=dev-qt/qtgui-5.3.2*
=dev-qt/qthelp-5.3.2*
=dev-qt/qtimageformats-5.3.2*
=dev-qt/qtmultimedia-5.3.2*
=dev-qt/qtnetwork-5.3.2*
=dev-qt/qtopengl-5.3.2*
=dev-qt/qtpaths-5.3.2*
=dev-qt/qtpositioning-5.3.2*
=dev-qt/qtprintsupport-5.3.2*
=dev-qt/qtquick1-5.3.2*
=dev-qt/qtquickcontrols-5.3.2*
=dev-qt/qtscript-5.3.2*
=dev-qt/qtsensors-5.3.2*
=dev-qt/qtserialport-5.3.2*
=dev-qt/qtsql-5.3.2*
=dev-qt/qtsvg-5.3.2*
=dev-qt/qttest-5.3.2*
=dev-qt/qttranslations-5.3.2*
=dev-qt/qtwebkit-5.3.2*
=dev-qt/qtwebsockets-5.3.2*
=dev-qt/qtwidgets-5.3.2*
=dev-qt/qtx11extras-5.3.2*
=dev-qt/qtxml-5.3.2*
=dev-qt/qtxmlpatterns-5.3.2*
dev-python/PyQt5

-- 
  Andrés Becerra Sandoval


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-user] qt5
@ 2014-11-14 11:12 Michael Vetter
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Vetter @ 2014-11-14 11:12 UTC (permalink / raw
  To: Gentoo mailing list

Hello,

Recently I started developing on LXQT. As they are using Qt5 on their
developing version I added Qt overlay and unmasked Qt5.

I should add normally I am more the GTK applicatio user, running i3 as
window manager. So Qt and its configuration are kind of new to me.

Anyways, I got LXQT to run and started hacking. However I thought a IDE
would be nice. So I installed Qtcreator.

All applications so far (example: pcmanfm-qt using Qt5) are looking
good. But Qtcreator looks awful: grey font on white background and
whitefont on black background. I wondered why this was the case, and
after checking with ldd I realized that Qtcreator uses Qt4.

I tried to run qtconfig and choose a nice theme, as I was used to with
lxappearance for GTK.
However, no matter what I selected in "Select GUI style", the colors
stayed ugly. I tried Cleanlooks, Qtcurve and others. Then I saw that I
can manually change color palette. This is strange, on GTK themes come
with nice colors without selecting them by hand. Am I doing something wrong?

So I have several questions:
1. How to configure Qt4 themes/colors the right way?
2. Can I remove Qt4 totally and only use Qt5 for all applications?

I am aware that Qt5 is not stable, but the mask says its more or    less
table but masked for doing more tests.

Also I didn't see a USE flag for Qtcreator, no Qt4 no Qt5.

3. For testing I wanted to add gtkstyle USE flag to qtgui, then realized
that this doesn't exist anymore for Qt5. But Qtcreator seems to be
compiled for Qt4, so how to set gtkstyle for it?

4. Has Qt5 also the possibility to have gtkstyle?

I am thankful for all info I can get, also background information for
understanding everything totally, since this is the main goal of writing
this mail.

best regards,
Michael


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-11-14 11:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-12 17:37 [gentoo-user] Qt5 siefke_listen
2014-11-12 17:46 ` Jc García
2014-11-12 19:11   ` Andrés Becerra Sandoval
  -- strict thread matches above, loose matches on Subject: below --
2014-11-14 11:12 [gentoo-user] qt5 Michael Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox