Skip to content

Commit

Permalink
Fix graphical effects issues on Linux
Browse files Browse the repository at this point in the history
After switching to Qbs (and building statically to avoid [1]),
we ran into [2]. We now have a workaround for that,
so we can finally release on Linux again.

Closes #71.

[1] probonopd/linuxdeployqt#280
[2] https://bugreports.qt.io/browse/QBS-1409
  • Loading branch information
mitchcurtis committed Nov 2, 2018
1 parent 4a9681d commit 3cd3dbf
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/app.qbs
Original file line number Diff line number Diff line change
Expand Up @@ -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: []
Expand Down
6 changes: 6 additions & 0 deletions tests/auto/test-app.qbs
Original file line number Diff line number Diff line change
Expand Up @@ -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: []
Expand Down
6 changes: 6 additions & 0 deletions tests/manual/memory-usage/memory-usage.qbs
Original file line number Diff line number Diff line change
Expand Up @@ -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: []
Expand Down
6 changes: 6 additions & 0 deletions tests/manual/screenshots/screenshots.qbs
Original file line number Diff line number Diff line change
Expand Up @@ -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: []
Expand Down

0 comments on commit 3cd3dbf

Please sign in to comment.