Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178427 - dev-util/codeblocks has issues w/ qt4 location
Summary: dev-util/codeblocks has issues w/ qt4 location
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jurek Bartuszek (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-13 20:18 UTC by Josef Hahn
Modified: 2007-05-14 00:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Josef Hahn 2007-05-13 20:18:42 UTC
in old qt3, everything is put into /usr/qt/3. but gentoo's qt4 ebuild scatters that in /usr/lib/qt4, /usr/include/qt4, /usr/sbin, and so on.

the problem is, some IDEs ask for "qt's location" when starting a qt4-project. so does codeblocks for example. it assumes, everything from qt4 can be found in this path and defined subpath of them (./lib, ./include, ./bin, and so on)...

Reproducible: Always

Steps to Reproduce:
1. emerge qt4
2. emerge codeblocks
3. try to create a qt4 project in codeblocks
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-13 20:26:38 UTC
I don't see what's exactly wrong w/ QT4 locations, they match the standard FS hierarchy pretty nicely (unlike QT3). Maybe someone could fix codeblock issues instead.
Comment 2 Jurek Bartuszek (RETIRED) gentoo-dev 2007-05-14 00:20:23 UTC
This is not a bug, you have to setup codeblocks manually in order to build qt4 projects (qt4 variable must be set in Settings -> Global variables...). See this thread:

http://forums.codeblocks.org/index.php/topic,5598.0.html

moreover, look at the output of:

pkg-config QtCore QtGui --cflags

and

pkg-config QtCore QtGui --lflags

You can retrieve sets of useful qt4 flags using pkg-config for:

/usr/lib/pkgconfig/QtCore.pc
/usr/lib/pkgconfig/QtDBus.pc
/usr/lib/pkgconfig/QtGui.pc
/usr/lib/pkgconfig/QtNetwork.pc
/usr/lib/pkgconfig/QtOpenGL.pc
/usr/lib/pkgconfig/QtSql.pc
/usr/lib/pkgconfig/QtSvg.pc
/usr/lib/pkgconfig/QtTest.pc
/usr/lib/pkgconfig/QtXml.pc