This repository has been archived by the owner on May 3, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Qbs (pronounced cubes) is the new build system from the Qt company that will replace qmake in the future. Qbs is much easier to use (from a developer perspective) than CMake, especially for Qt projects.
- Loading branch information
1 parent
be7f5ff
commit 59bf2c6
Showing
654 changed files
with
3,254 additions
and
5,965 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import qbs | ||
|
||
Project { | ||
name: "Third Parties" | ||
|
||
references: [ | ||
"libqxt/libqxt.qbs" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
import qbs | ||
import qbs.Probes | ||
|
||
StaticLibrary { | ||
id: product | ||
|
||
name: "qxtglobalshortcut" | ||
condition: product.qxt === undefined || !product.qxt.found | ||
|
||
cpp.cxxLanguageVersion: platform.cxxLanguageVersion | ||
cpp.includePaths: [ | ||
product.sourceDirectory + "/src/core", | ||
product.sourceDirectory + "/src/widgets", | ||
] | ||
cpp.defines: ["QXT_STATIC=1"] | ||
cpp.frameworks: platform.macOs ? base.concat(["Carbon", "Cocoa"]) : base | ||
|
||
Group { | ||
name: "Source Files" | ||
files: [ | ||
"src/core/*.cpp", | ||
"src/widgets/*.cpp", | ||
] | ||
} | ||
|
||
Group { | ||
name: "Header Files" | ||
files: [ | ||
"src/core/*.h", | ||
"src/widgets/*.h", | ||
] | ||
} | ||
|
||
Group { | ||
name: "Windows" | ||
files: "src/widgets/win/qxtglobalshortcut_win.cpp" | ||
condition: { return product.platform.windows; } | ||
} | ||
|
||
Group { | ||
name: "Unix" | ||
files: "src/widgets/x11/qxtglobalshortcut_x11.cpp" | ||
condition: product.platform.unix | ||
} | ||
|
||
Group { | ||
name: "MacOS" | ||
files: "src/widgets/mac/qxtglobalshortcut_mac.cpp" | ||
condition: product.platform.macOs | ||
} | ||
|
||
Depends { name: 'cpp' } | ||
Depends { name: "platform" } | ||
Depends { name: "Qt.core" } | ||
Depends { name: "Qt.core-private" } | ||
Depends { name: "Qt.gui-private" } | ||
Depends { name: "Qt.widgets" } | ||
Depends { name: "qxt"; condition: platform.unix } | ||
Depends { name: "x11"; condition: platform.unix } | ||
|
||
Export { | ||
Depends { name: 'cpp' } | ||
Depends { name: "Qt.core" } | ||
Depends { name: "Qt.core-private" } | ||
Depends { name: "Qt.gui-private" } | ||
Depends { name: "Qt.widgets" } | ||
|
||
cpp.includePaths: product.cpp.includePaths | ||
cpp.cxxFlags: product.cxxFlags | ||
cpp.linkerFlags: product.cxxFlags | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.