Bug 392387 - qtdir variable from .kdesrc-buildrc is completely innefective
Summary: qtdir variable from .kdesrc-buildrc is completely innefective
Status: RESOLVED FIXED
Alias: None
Product: kdesrc-build
Classification: Developer tools
Component: general (other bugs)
Version First Reported In: Git
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-27 05:04 UTC by Romário Rios
Modified: 2018-03-28 06:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
.kdesrc-buildrc (1.50 KB, text/plain)
2018-03-27 05:04 UTC, Romário Rios
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Romário Rios 2018-03-27 05:04:13 UTC
Created attachment 111667 [details]
.kdesrc-buildrc

I'm trying to use my local Qt installation (installed with the online installed from qt.io), but setting the qtdir variable in .kdesrc-buildrc has zero effect in the build -- it still tries to use the system Qt installation, which is not what I want.

I can put anything as the value of the variable (even complete gibberish) and the build process will remain unaffected.

My kdesrc-buildrc is attached.
Comment 1 Romário Rios 2018-03-27 05:06:14 UTC
P.S.: I looked in both https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source and https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source/OwnQt5 and neither of these documents seem to explain how to make kdesrc-build point to a local Qt installation.
Comment 2 Michael Pyne 2018-03-28 01:26:37 UTC
The first link you post, where PATH is set to include $QTDIR/bin, is where the change that allows kdesrc-build (and other software) to point to a local Qt installation is present.

I'll admit it's not very well noted though.