Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#27471 - [qt-private-headers] weird headers directory structure
Attached to Project:
Arch Linux
Opened by Shawn Rutledge (ecloud) - Tuesday, 06 December 2011, 14:15 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 07 December 2011, 09:50 GMT
Opened by Shawn Rutledge (ecloud) - Tuesday, 06 December 2011, 14:15 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 07 December 2011, 09:50 GMT
|
DetailsThe packaging of extra/qt-private-headers is odd: /usr/src/corelib, /usr/src/gui and so on, without a directory named qt-something? I was trying to build the latest Qt Creator from its git repository, and ran into this error
aggregation_global.h:36:28: fatal error: QtCore/qglobal.h /usr/src/corelib/global/qglobal.h exists, but why to rename the directories this way? It is not useful for compiling programs which depend on Qt internals. I think it would be a good test case for this headers package that you should be able to build Creator with only the system Qt and this headers package installed. git clone git://gitorious.org/qt-creator/qt-creator.git cd qt-creator qmake make |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Wednesday, 07 December 2011, 09:50 GMT
Reason for closing: Not a bug
Additional comments about closing: see comments
Wednesday, 07 December 2011, 09:50 GMT
Reason for closing: Not a bug
Additional comments about closing: see comments
Comment by Jan de Groot (JGC) -
Tuesday, 06 December 2011, 23:39 GMT
The directories aren't renamed. QtCore/qglobal.h is in /usr/include/QtCore/qglobal.h and is part of the qt package. The private and public headers are installed in the correct locations, though I have no idea what's the use of the files that are installed in /usr/src.
Comment by Andrea Scarpino (BaSh) -
Wednesday, 07 December 2011, 08:01 GMT
I rebuilt the whole qt (without split) and their Makefile installs those headers in /usr/src/{corelib,declarative,gui,script} so the package is fine; we keep the upstream layout.
Comment by Shawn Rutledge (ecloud) -
Wednesday, 07 December 2011, 09:49 GMT
Yes /usr/include/QtCore/qglobal.h exists after re-installing the package, I must have deleted those headers for some reason. Sorry for wasting your time. I still think /usr/src/core etc. is not very nice but that will be a qt bug then.