hgoebel added a comment.
Well, the currently the dependency is still needed, see https://cgit.kde.org/ktexteditor.git/tree/autotests/src/scripting_test.cpp#n51: #include <QtScript/QScriptEngine> If the code is not compiled in an isolated and controlled environment, and QtScript is installed on the system, the compiler might silently get the includes installed elsewhere. The same is true, if some QT package requires QtScript and QtScript is installed alongside that package. REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D8577 To: hgoebel, #ktexteditor, dfaure Cc: cullmann, dhaumann, #frameworks, kevinapavew, demsking, sars