Skip to content

Commit

Permalink
Qbs: Qt.openglwidgets is not a hard dependency
Browse files Browse the repository at this point in the history
Tiled can actually be compiled without OpenGL if QT_NO_OPENGL is
defined, so it might suffice to just mark this as not required.
  • Loading branch information
bjorn committed Jan 10, 2024
1 parent afe241d commit 5a72b8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tiled/libtilededitor.qbs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ DynamicLibrary {
Depends { name: "qtpropertybrowser" }
Depends { name: "qtsingleapplication" }
Depends { name: "Qt"; submodules: ["core", "widgets", "concurrent", "qml", "svg"]; versionAtLeast: "5.12" }
Depends { name: "Qt.openglwidgets"; condition: Qt.core.versionMajor >= 6 }
Depends { name: "Qt.openglwidgets"; condition: Qt.core.versionMajor >= 6; required: false }
Depends { name: "Qt.dbus"; condition: qbs.targetOS.contains("linux") && project.dbus; required: false }
Depends { name: "Qt.gui-private"; condition: qbs.targetOS.contains("windows") && Qt.core.versionMajor >= 6 }

Expand Down

0 comments on commit 5a72b8b

Please sign in to comment.