diff --git a/app/app.qbs b/app/app.qbs index 9ed5ae0a..7f6f5f44 100644 --- a/app/app.qbs +++ b/app/app.qbs @@ -12,6 +12,12 @@ QtGuiApplication { Depends { name: "lib" } // Provides support for Apple Interface Builder - aka asset catalogs. Depends { name: "ib"; condition: qbs.targetOS.contains("macos") } + // Workaround for static builds until https://bugreports.qt.io/browse/QBS-1409 is fixed + Depends { + name: "Qt" + condition: Qt.core.staticBuild && qbs.targetOS.contains("linux") + submodules: ["qxcb-egl-integration"] + } // Additional import path used to resolve QML modules in Qt Creator's code model property pathList qmlImportPaths: [] diff --git a/tests/auto/test-app.qbs b/tests/auto/test-app.qbs index ce50e087..49468ee3 100644 --- a/tests/auto/test-app.qbs +++ b/tests/auto/test-app.qbs @@ -9,6 +9,12 @@ QtGuiApplication { Depends { name: "Qt.test" } Depends { name: "Qt.widgets" } Depends { name: "lib" } + // Workaround for static builds until https://bugreports.qt.io/browse/QBS-1409 is fixed + Depends { + name: "Qt" + condition: Qt.core.staticBuild && qbs.targetOS.contains("linux") + submodules: ["qxcb-egl-integration"] + } // Additional import path used to resolve QML modules in Qt Creator's code model property pathList qmlImportPaths: [] diff --git a/tests/manual/memory-usage/memory-usage.qbs b/tests/manual/memory-usage/memory-usage.qbs index f32c1aa7..b06506d9 100644 --- a/tests/manual/memory-usage/memory-usage.qbs +++ b/tests/manual/memory-usage/memory-usage.qbs @@ -11,6 +11,12 @@ Project { Depends { name: "Qt.test" } Depends { name: "Qt.widgets" } Depends { name: "lib" } + // Workaround for static builds until https://bugreports.qt.io/browse/QBS-1409 is fixed + Depends { + name: "Qt" + condition: Qt.core.staticBuild && qbs.targetOS.contains("linux") + submodules: ["qxcb-egl-integration"] + } // Additional import path used to resolve QML modules in Qt Creator's code model property pathList qmlImportPaths: [] diff --git a/tests/manual/screenshots/screenshots.qbs b/tests/manual/screenshots/screenshots.qbs index 001cae0e..3d6593d2 100644 --- a/tests/manual/screenshots/screenshots.qbs +++ b/tests/manual/screenshots/screenshots.qbs @@ -9,6 +9,12 @@ QtGuiApplication { Depends { name: "Qt.test" } Depends { name: "Qt.widgets" } Depends { name: "lib" } + // Workaround for static builds until https://bugreports.qt.io/browse/QBS-1409 is fixed + Depends { + name: "Qt" + condition: Qt.core.staticBuild && qbs.targetOS.contains("linux") + submodules: ["qxcb-egl-integration"] + } // Additional import path used to resolve QML modules in Qt Creator's code model property pathList qmlImportPaths: []