Bug 342416

Summary: Please add qmake-options to be able to pass options to qmake
Product: [Developer tools] kdesrc-build Reporter: David Faure <faure>
Component: generalAssignee: Michael Pyne <mpyne>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 1.16
Sentry Crash Report:

Description David Faure 2015-01-02 13:24:30 UTC
qoauth needs PREFIX to be passed to qmake, otherwise it tries to install into /usr.

Thanks!

Reproducible: Always

Steps to Reproduce:
module qoauth
   repository git@github.com:ayoy/qoauth.git
   qmake-options PREFIX=$KDEDIR
end module



Also, I suggest passing -r to qmake, so that new options actually have effect on existing builds.
Comment 1 Michael Pyne 2015-02-07 22:37:42 UTC
Git commit 432efae0a9841be849c78f9ef24ea48296f3c19c by Michael Pyne.
Committed on 07/02/2015 at 22:31.
Pushed by mpyne into branch 'master'.

qmake: Add qmake-options to pass options to qmake.

Obviously this only applies to the few modules that utilize the qmake
build system.
FIXED-IN:1.16

M  +15   -1    doc/index.docbook
M  +2    -1    modules/ksb/BuildSystem/QMake.pm

http://commits.kde.org/kdesrc-build/432efae0a9841be849c78f9ef24ea48296f3c19c
Comment 2 Michael Pyne 2024-05-10 09:16:40 UTC
Git commit 70e5f241e3c2e35507f4446f653e4c0c48c6c8a5 by Michael Pyne.
Committed on 07/02/2015 at 22:31.
Pushed by ashark into branch 'docbook_historied_per_file'.

qmake: Add qmake-options to pass options to qmake.

Obviously this only applies to the few modules that utilize the qmake
build system.
FIXED-IN:1.16

Original commit: 432efae0
https://invent.kde.org/sdk/kdesrc-build/-/commit/432efae0a9841be849c78f9ef24ea48296f3c19c

M  +1    -1    doc/index.docbook
M  +14   -0    doc/kdesrc-buildrc/conf-options-table.docbook

https://invent.kde.org/sdk/kdesrc-build/-/commit/70e5f241e3c2e35507f4446f653e4c0c48c6c8a5