Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

[qt overlay] Qt beta and live ebuilds & Qt4 apps

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
392 posts
  • Page 3 of 16
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 16
  • Next
Author
Message
franzf
Advocate
Advocate
User avatar
Posts: 4565
Joined: Tue Mar 29, 2005 9:06 am

  • Quote

Post by franzf » Sat Feb 07, 2009 8:20 am

titoucha wrote:
gimpel wrote:But I do not see the slightest point in using that. 4.5.0-rc1 works fine here with KDE 4.2.
For me kdm 4.2.0 does not work with qt 4.5.0-rc1. :?
kdm does not work for me, too.
Crash within QWidgetPrivate::set -> XSetCommand() in libX11 ->strlen() in libc (AFAIR)...

I also have trouble with installing (building works fine) qt-creator (rc and live).

Code: Select all

make[1]: Entering directory `/var/tmp/paludis/dev-util-qt-creator-0.9.2_rc1/work/qt-creator-0.9.2_rc1/src'
cd libs/ && make -f Makefile install
/bin/sh: /usr/bin/qdoc3: No such file or directory 
qt-core (4.5.0_rc1) is built with doc enabled, but there is no qdoc executable:

Code: Select all

 paludis --executables qt-core
* x11-libs/qt-core-4.5.0_rc1::installed
    /usr/bin/qmake
    /usr/bin/moc
    /usr/bin/rcc
    /usr/bin/uic
Am i missing something?
Top
franzf
Advocate
Advocate
User avatar
Posts: 4565
Joined: Tue Mar 29, 2005 9:06 am

  • Quote

Post by franzf » Sat Feb 07, 2009 9:30 am

franzf wrote:qt-core (4.5.0_rc1) is built with doc enabled, but there is no qdoc executable:

Code: Select all

 paludis --executables qt-core
* x11-libs/qt-core-4.5.0_rc1::installed
    /usr/bin/qmake
    /usr/bin/moc
    /usr/bin/rcc
    /usr/bin/uic
Am i missing something?
So this one is solved. Had to change some things in qt-core-ebuild:

Code: Select all

    if use doc; then
        emake INSTALL_ROOT="${D}" install_htmldocs || die "emake install_htmldocs failed."
        dobin "${S}"/tools/qdoc3/qdoc3 || die "dobin qdoc3 failed"
    fi
added the "dobin [...]" in src_install
And added a "/" at the end of "tools/qdoc3" in src_unpack:

Code: Select all

        QT4_TARGET_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
        tools/qdoc3/"
And now also qt-creator finished successfully :)
BTW. the "dobin" in src_install also misses in the stable (4.4.2-r1) qt-core in portage!
Should i open a bugreport, or is some dev reading this thread? :D
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Sat Feb 07, 2009 9:45 am

Hmmm no problems here with kdm. Did you recompile kdelibs?
Top
franzf
Advocate
Advocate
User avatar
Posts: 4565
Joined: Tue Mar 29, 2005 9:06 am

  • Quote

Post by franzf » Sat Feb 07, 2009 9:50 am

genstorm wrote:Hmmm no problems here with kdm. Did you recompile kdelibs?
yes, i recompiled kdelibs, and kdm.
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Sat Feb 07, 2009 10:03 am

Maybe I'm lucky not having done the latter?
Top
franzf
Advocate
Advocate
User avatar
Posts: 4565
Joined: Tue Mar 29, 2005 9:06 am

  • Quote

Post by franzf » Sat Feb 07, 2009 10:09 am

I just recompiled kdm as it didn't work...
I did not know there were kdm-related problems, before i stumbled over them by myself.
(But I don't want to give away qt-4.5... It's -- whooo, fast and less glitches :))
Top
Hwoarang
Retired Dev
Retired Dev
User avatar
Posts: 701
Joined: Sat Feb 24, 2007 10:41 am
Location: Leeds, UK
Contact:
Contact Hwoarang
Website

  • Quote

Post by Hwoarang » Sat Feb 07, 2009 10:19 am

Unfortunatelly, this is a random situation. For me, kdm works with 4.5.9999 and 4.9999 but I many people are having issues with kdm. I cant help ( for now )
Top
aliquid
n00b
n00b
Posts: 37
Joined: Fri Mar 14, 2008 6:37 pm

  • Quote

Post by aliquid » Sat Feb 07, 2009 1:14 pm

Here's a patch to prevent segfaults in kdm. Should apply against latest qt 4.5 snapshot

Code: Select all

--- a/src/gui/kernel/qwidget_x11.cpp    2009-02-07 14:22:29.000000000 +0300                   
+++ b/src/gui/kernel/qwidget_x11.cpp    2009-02-07 14:24:05.873888572 +0300                   
@@ -731,8 +731,7 @@                                                                           
         class_hint.res_name = appName.data(); // application name                            
         class_hint.res_class = const_cast<char *>(QX11Info::appClass());   // application class
                                                                                                
-        XSetWMProperties(dpy, id, 0, 0,                                                        
-                         qApp->d_func()->argv, qApp->d_func()->argc,                           
+        XSetWMProperties(dpy, id, 0, 0, 0, 0,                                                  
                          &size_hints, &wm_hints, &class_hint);                                 
                                                                                                
         XResizeWindow(dpy, id,    
Top
Hwoarang
Retired Dev
Retired Dev
User avatar
Posts: 701
Joined: Sat Feb 24, 2007 10:41 am
Location: Leeds, UK
Contact:
Contact Hwoarang
Website

  • Quote

Post by Hwoarang » Sat Feb 07, 2009 1:16 pm

Do you have a link about this patch? Or a discussion about this?
Top
aliquid
n00b
n00b
Posts: 37
Joined: Fri Mar 14, 2008 6:37 pm

  • Quote

Post by aliquid » Sat Feb 07, 2009 1:36 pm

Hwoarang wrote:Do you have a link about this patch? Or a discussion about this?
Sorry, but no. I have hacked qt code when your overlay first came out to workaround crashes in kdm. No problems so far.
Top
gaelic
Tux's lil' helper
Tux's lil' helper
Posts: 119
Joined: Tue Dec 30, 2003 10:49 am
Location: Vienna, Austria, Europe, World, Solar System, Milky Way, Universe
Contact:
Contact gaelic
Website

  • Quote

Post by gaelic » Sat Feb 07, 2009 2:00 pm

yngwin wrote:
gaelic_cargal wrote:i`ve got several problems with qt 4.5 and kde 4.2
Did you remerge at least kdelibs after upgrading Qt (as suggested by elog message)?
hi. i used qt-4.5 from 4.1.8x to 4.1.96, but i switched back to qt 4.4 with the stable release of 4.2.

in short. yes, i rebuild kdelibs.
--
for 4.2 release of kde, i removed every set from portage and did a depclean, then i build kde 4.2 from scratch including all dependencies. maybe the problem would have been resolved if i did this with qt-4.5 too ...
Top
Hwoarang
Retired Dev
Retired Dev
User avatar
Posts: 701
Joined: Sat Feb 24, 2007 10:41 am
Location: Leeds, UK
Contact:
Contact Hwoarang
Website

  • Quote

Post by Hwoarang » Sat Feb 07, 2009 2:07 pm

aliquid wrote:
Hwoarang wrote:Do you have a link about this patch? Or a discussion about this?
Sorry, but no. I have hacked qt code when your overlay first came out to workaround crashes in kdm. No problems so far.
No problem. Did you posted this patch on kde bugs ( http://bugs.kde.org/ ) ?. If no, please do in order kde devs to verify it and put it on qt-copy :)
Top
athemis
n00b
n00b
Posts: 2
Joined: Tue Nov 21, 2006 8:45 am
Location: Düsseldorf, Germany
Contact:
Contact athemis
Website

  • Quote

Post by athemis » Sat Feb 07, 2009 10:50 pm

Seems to has been fixed upstream: http://websvn.kde.org/?view=rev&revision=922805
Top
Hwoarang
Retired Dev
Retired Dev
User avatar
Posts: 701
Joined: Sat Feb 24, 2007 10:41 am
Location: Leeds, UK
Contact:
Contact Hwoarang
Website

  • Quote

Post by Hwoarang » Sat Feb 07, 2009 11:27 pm

Damn, it wasnt a qt-copy error but a kde one. So it qt-4.5 will still fail for those who run ~kde-4.2.0
Top
friesia
Apprentice
Apprentice
User avatar
Posts: 202
Joined: Fri Mar 23, 2007 2:09 pm

  • Quote

Post by friesia » Sun Feb 08, 2009 8:36 am

titoucha wrote:For me kdm 4.2.0 does not work with qt 4.5.0-rc1. :?
Me too - I've got message about kdmgreet crash. If I startx, kwin crashes.
Tried re-emerging kdelibs & kdm. Tried version 4.5.9999 with same result.
Top
neuron
Advocate
Advocate
User avatar
Posts: 2371
Joined: Tue May 28, 2002 7:43 pm

  • Quote

Post by neuron » Sun Feb 08, 2009 8:51 am

Well Qt4.5 will be out before kde 4.3 will wont it, so that patch will have to be backported? I dont see why fixes like that wont make it into the main tree if they'll be needed when Qt4.5 goes stable anyway.
Top
franzf
Advocate
Advocate
User avatar
Posts: 4565
Joined: Tue Mar 29, 2005 9:06 am

  • Quote

Post by franzf » Sun Feb 08, 2009 9:26 am

neuron wrote:Well Qt4.5 will be out before kde 4.3 will wont it, so that patch will have to be backported? I dont see why fixes like that wont make it into the main tree if they'll be needed when Qt4.5 goes stable anyway.
Erm, read EXACTLY what the page says ;)
It's a backport-fix from kde-trunk, it is just in the 4.2-branch. So kde-4.2.1 will contain this fix!
It should even be possible, to add this patch to kdm in portage.
Top
neuron
Advocate
Advocate
User avatar
Posts: 2371
Joined: Tue May 28, 2002 7:43 pm

  • Quote

Post by neuron » Sun Feb 08, 2009 9:29 am

franzf wrote:
neuron wrote:Well Qt4.5 will be out before kde 4.3 will wont it, so that patch will have to be backported? I dont see why fixes like that wont make it into the main tree if they'll be needed when Qt4.5 goes stable anyway.
Erm, read EXACTLY what the page says ;)
It's a backport-fix from kde-trunk, it is just in the 4.2-branch. So kde-4.2.1 will contain this fix!
It should even be possible, to add this patch to kdm in portage.
yeah, my point was I dont think it'll be a problem for long, as it could be added to kdm-4.2.0-r1 in portage.
Top
Hwoarang
Retired Dev
Retired Dev
User avatar
Posts: 701
Joined: Sat Feb 24, 2007 10:41 am
Location: Leeds, UK
Contact:
Contact Hwoarang
Website

  • Quote

Post by Hwoarang » Sun Feb 08, 2009 10:33 am

For now , you can grab a modified ebuild from my dev space

http://dev.gentoo.org/~hwoarang/kde/kdm


Soon this ebuild will be on tree ( I guess ). Put the two patches on files folder and happy emerging :)
Top
wrc1944
Advocate
Advocate
Posts: 3467
Joined: Thu Aug 15, 2002 10:33 am
Location: Gainesville, Florida

  • Quote

Post by wrc1944 » Sun Feb 08, 2009 11:14 am

I'm having very good results on three different boxes with qt-4.5-rc1, and kde-live- no problems so far.
Correct me if I'm wrong, but I've always found far less problems using the very latest qt release (rcx's included, but NOT qt-live revisions) and then building kde-live (9999) versions on that.

The other way, i.e. trying to build newer revisions of qt on an earlier kde is far more problematic (even if you rebuild the given kde version afterwards), and for me at least (in compiling time) is not worth the effort.

IMHO, if you are wanting to use qt-live 9999's, then also using kde-live would be almost mandatory to avoid lots of problems, as qt-live is going to be moving past (for example) kde-4.2.0 or any "point" release, almost immediately. In other words, a qt-4.5-rcx is more likely to be OK for a good many kde-live 9999 rebuilds than a kde-4.2.0 release is for the ongoing qt 9999's.
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.41-r2, gcc-15.1.0
kernel-6.15.6 USE=experimental python3.13.3
Top
neuron
Advocate
Advocate
User avatar
Posts: 2371
Joined: Tue May 28, 2002 7:43 pm

  • Quote

Post by neuron » Sun Feb 08, 2009 11:24 am

does kio_http work properly with rc1? I dont remember what versions I tested, but konqueror and akregator would segfault on me.
Top
gimpel
Advocate
Advocate
User avatar
Posts: 2720
Joined: Fri Oct 15, 2004 10:08 am
Location: Munich, Bavaria
Contact:
Contact gimpel
Website

  • Quote

Post by gimpel » Sun Feb 08, 2009 11:32 am

neuron wrote:does kio_http work properly with rc1? I dont remember what versions I tested, but konqueror and akregator would segfault on me.
Works fine here with -rc1
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Top
franzf
Advocate
Advocate
User avatar
Posts: 4565
Joined: Tue Mar 29, 2005 9:06 am

  • Quote

Post by franzf » Sun Feb 08, 2009 11:49 am

Hwoarang wrote:For now , you can grab a modified ebuild from my dev space

http://dev.gentoo.org/~hwoarang/kde/kdm
Just want to say thx, and confirm that kdm works again :)
Top
wrc1944
Advocate
Advocate
Posts: 3467
Joined: Thu Aug 15, 2002 10:33 am
Location: Gainesville, Florida

  • Quote

Post by wrc1944 » Sun Feb 08, 2009 6:24 pm

Thought I'd mention- k3b,
Version 1.95-svn
Using KDE 4.2.62 (KDE 4.2.62 (KDE 4.3 >= 20090204)
works with qt-4.5-rc1 and kde-live (don't know about any other versions). As a test, I just burnt the newest SystemRescue iso, and k3b worked normally, no problems. First time I've ever been able to get k3b to work with kde4 (any version). :D

One little thing, the cd didn't auto-eject after successfully burning, even though the box to disable eject was not checked by default in settings.
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.41-r2, gcc-15.1.0
kernel-6.15.6 USE=experimental python3.13.3
Top
neuron
Advocate
Advocate
User avatar
Posts: 2371
Joined: Tue May 28, 2002 7:43 pm

  • Quote

Post by neuron » Mon Feb 09, 2009 8:50 am

http://vizzzion.org/?blogentry=906

:/, pretty terrible if you ask me, I need qt4.5 for other things that kde (I'm a developer using qt activly), and not having it is unpractical. It wont stop me from using 4.5 ofc, I'll just kill off whatever plasmoids doesn't work, but it still sucks.
Top
Post Reply

392 posts
  • Page 3 of 16
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 16
  • Next

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic