Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 23607

Summary: QT-Embedded ebuild needs updating
Product: Gentoo Linux Reporter: Niek van der Maas <webmaster>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: caleb, fdbugs_gentoo
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: QT/Embedded 3.2.0 beta2 ebuild
Compilation error

Description Niek van der Maas 2003-06-27 11:21:31 UTC
Hi,

ATM there is a masked and non-working ebuild of x11-libs/qt-embedded in portage. This ebuild really needs a update to the latest version (3.2.0b2). Is there a Gentoo devver who can take a look at this?
I was also thinking about a Gentoo installer project: we can include QT/Embedded on the LiveCD and build a small installer application. This application will use QT/Embedded and vesafb. The hardest part to code, filesystem resizing/deleting/creating/choosing, is already done: PartGUI (http://part-gui.sourceforge.net/) runs on top of QT/Embedded. Including Konqueror/Embedded (see module kdenox from KDE CVS) for online help is also possible :)
What do you think about this idea?
Greeting,

Niek.

Reproducible: Always
Steps to Reproduce:
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2003-06-28 01:33:35 UTC
If you could provide a working ebuild that would help a lot. Also, if there is a stable version of qt-embedded, also provide an ebuild for that.
Comment 2 Niek van der Maas 2003-06-30 09:40:47 UTC
OK, here's a ebuild for QT/Embedded 3.2.0 beta2. The ebuild is not perfect (I can't get CUPS support enabled) and some things needs to be fixed (can't get the mouse working as a non-root user, perhaps a /dev issue?), so please clean this ebuild up. If QT is installed (X11 version), you have to comment out things in /etc/env.d. And oh, I've to redirect all stdout/stderr messages to /dev/null, or they mess up the framebuffer screen.
Here's a screenshot of QT Designer running with QT/E (designer > /dev/null 2>&1): http://picserver.student.utwente.nl/getpicture.php?id=178920
BTW, PartGUI is also working perfect with this version. I'm now trying to build Konqueror/Embedded...
Comment 3 Niek van der Maas 2003-06-30 09:41:27 UTC
Created attachment 14041 [details]
QT/Embedded 3.2.0 beta2 ebuild
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2003-07-07 11:33:56 UTC
Will take a look at this asap. 
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2003-07-18 16:47:58 UTC
*** Bug 24475 has been marked as a duplicate of this bug. ***
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2003-07-20 06:39:26 UTC
I've updated qt embedded to the latest stable version 3.1.2.  I'll plan to get a 3.2 ebuild in as 
soon as it moves out of beta.  It will definitely require lots of testing.  More bug reports are 
welcome. 
Comment 7 François Dupoux 2003-07-20 06:54:41 UTC
Hi, 
There is a very big problem in the current ebuild (attach from 2003-06-30 09:41). 
It depends on virtual/x11. The major advantage of QtEmbedded over Qt-x11 is 
that it does not requires XFree86 ! And the current ebuild requires XFree86. 
 
Another very important note: 
In the src_compile(), uic is not build. This tool is very important, because dialogs 
are build with uic. If uic is not installed, and Qt-x11 is not installed too, you won't 
be able to build your Qt programs. You have to add these lines, at the end of 
src_compile(): 
----------- 
cd $S/tools/designer/uic 
emake 
----------- 
I made my own version of the ebuild for Qt-3.1.2: 
http://fdupoux.free.fr/gentoo/qt-embedded-3.1.2.ebuild 
It is very incomplete (many missing options, such as cups, gif, mng, odbc, ...), 
but it works for normal Qt programs (uic is included) and it does not requires 
XFree86. Hope it helps. It was tested for QtParted and PartGui. 
 
regards 
Comment 8 Caleb Tennis (RETIRED) gentoo-dev 2003-07-20 07:29:47 UTC
Hi 
 
The 3.1.2 ebuild I've commited is virtually the same as the one you listed, but I added in your 
line building the uic.  Thanks for the comments. 
Comment 9 François Dupoux 2003-07-20 10:50:38 UTC
Created attachment 14781 [details]
Compilation error

Thanks for your new ebuild. There was a compilation error (see attach txt)
It seems that the ebuild compiles QtDesigner, and QtDesigner needs
libqassistantclient. IMHO, you have to do that (like for uic):

cd <assistant directory>
emake

Is there a way to disable compilation of QtDesigner ?
Most Qt developers work with the Qt-x11 version. QtEmbedded is only used to
build and at runtime...