https://bugs.kde.org/show_bug.cgi?id=404486
Bug ID: 404486 Summary: kdesrc-build should consider adjusting PATH to find tools in qtdir Product: kdesrc-build Version: Git Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: mp...@kde.org Reporter: jm.ouwerk...@gmail.com Target Milestone: --- SUMMARY When building Qt 5 from source using kdesrc-build the generated tools end up in ${qtdir}/bin This is unlikely to be on the PATH, which makes it hard to compile KF5 & apps with tools you just built from source. STEPS TO REPRODUCE 1. On a fresh system without Qt set up kdesrc-build (so there won't be a qmake) 2. Make sure to include kf5-qt5-build-include and qt5-build-include 3. Build Qt 5 locally with kdesrc-build qt5 4. Run kdesrc-build with for example the following options: --include-dependencies kate OBSERVED RESULT ``` Unable to find qmake. This program is absolutely essential for building the modules: kded kcmutils kate kemoticons kactivities kiconthemes ktextwidgets kpackage phonon kplotting kdesignerplugin attica frameworkintegration modemmanager-qt khtml kauth knotifyconfig kitemmodels kdeclarative kxmlrpcclient kconfigwidgets oxygen-icons5 kpty karchive threadweaver kservice kdesu plasma-framework kwayland kbookmarks krunner knewstuff baloo kjobwidgets kjs kwallet kcompletion knotifications kconfig kjsembed bluez-qt kdnssd solid kpeople kglobalaccel sonnet kdbusaddons kdoctools kwidgetsaddons kmediaplayer kdelibs4support ktexteditor kdewebkit kross kidletime kcoreaddons polkit-qt-1 kfilemetadata prison kunitconversion networkmanager-qt qqc2-desktop-style kinit kactivities-stats kirigami kcodecs kitemviews kimageformats kparts syntax-highlighting kio kguiaddons kcrash ki18n kxmlgui breeze-icons kwindowsystem extra-cmake-modules. Please ensure the development packages for Qt are installed by using your distribution's package manager. ``` EXPECTED RESULT kdesrc-build picks up locally built Qt tools from qtdir and does not bail. -- You are receiving this mail because: You are watching all bug changes.