mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-21 18:22:29 +01:00
Fix linux compilation
This commit is contained in:
parent
7a59f7934d
commit
830aaacfc4
@ -44,12 +44,12 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "linux-gcc-profile",
|
||||
"binaryDir": "${sourceDir}/../build_ScreenPlay_Gcc_Profile",
|
||||
"name": "linux-gcc-relwithdebinfo",
|
||||
"binaryDir": "${sourceDir}/../build_ScreenPlay_Gcc_RelWithDebInfo",
|
||||
"inherits": [
|
||||
"config-develop",
|
||||
"linux-gcc-base",
|
||||
"profile"
|
||||
"relwithdebinfo"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -80,12 +80,12 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "linux-clang-profile",
|
||||
"binaryDir": "${sourceDir}/../build_ScreenPlay_Clang_Profile",
|
||||
"name": "linux-clang-relwithdebinfo",
|
||||
"binaryDir": "${sourceDir}/../build_ScreenPlay_Clang_RelWithDebInfo",
|
||||
"inherits": [
|
||||
"config-develop",
|
||||
"linux-clang-base",
|
||||
"profile"
|
||||
"relwithdebinfo"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -46,6 +46,7 @@ int main(int argc, char* argv[])
|
||||
#if defined(Q_OS_WIN)
|
||||
window = std::make_unique<WinWindow>();
|
||||
#elif defined(Q_OS_LINUX)
|
||||
const auto platformName = QGuiApplication::platformName();
|
||||
if (platformName == "xcb") {
|
||||
window = std::make_unique<LinuxX11Window>();
|
||||
} else if (platformName == "wayland") {
|
||||
|
Loading…
Reference in New Issue
Block a user