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

Bug 525830

Summary: qmake-utils.eclass: add helper functions
Product: Gentoo Linux Reporter: Davide Pesavento <pesa>
Component: EclassesAssignee: Qt Bug Alias <qt>
Status: RESOLVED FIXED    
Severity: normal CC: nikoli
Priority: Highest    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 532962    
Attachments: qmake-utils-get_qmake.patch

Description Davide Pesavento gentoo-dev 2014-10-19 00:52:05 UTC
Such as:

qt5_get_qmake
qt5_get_bindir (or binsdir to follow upstream naming?)
qt5_get_includedir (or headersdir to follow upstream naming?)
qt5_get_datadir
...

Or maybe they should go into a new qt5.eclass?

Probably we need the same set of helpers for qt4.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2015-02-08 16:27:42 UTC
Created attachment 395914 [details, diff]
qmake-utils-get_qmake.patch

Patch adding qt{4,5}_get_qmake.
Comment 2 Davide Pesavento gentoo-dev 2015-02-08 20:21:02 UTC
(In reply to Michael Palimaka (kensington) from comment #1)
> Created attachment 395914 [details, diff] [details, diff]
> qmake-utils-get_qmake.patch
> 
> Patch adding qt{4,5}_get_qmake.

Looks good to me. Make use of the new functions in eqmake{4,5}.
Comment 4 Davide Pesavento gentoo-dev 2015-05-10 15:04:49 UTC
  10 May 2015; Davide Pesavento <pesa@gentoo.org> qmake-utils.eclass:
  Add qt{4,5}_get_{header,mkspecs}dir helper functions, bug 525830.
Comment 5 Davide Pesavento gentoo-dev 2015-10-31 15:24:52 UTC
Let's consider this fixed for now. If additional helpers are needed in the future we can open a new bug.