Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Staging:C:DVD
sddm
0001-Fix-build-with-Qt-5.11-1024.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Fix-build-with-Qt-5.11-1024.patch of Package sddm
From 287e4b11b940140764131a04dfb4afb3a3d8a84d Mon Sep 17 00:00:00 2001 From: Fabian Vogt <fabian@ritter-vogt.de> Date: Sat, 28 Apr 2018 11:38:32 +0200 Subject: [PATCH] Fix build with Qt 5.11 (#1024) qt5_use_modules was deprecated for quite some time and got finally removed. --- CMakeLists.txt | 2 +- test/CMakeLists.txt | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) Index: sddm-0.17.0/CMakeLists.txt =================================================================== --- sddm-0.17.0.orig/CMakeLists.txt +++ sddm-0.17.0/CMakeLists.txt @@ -93,7 +93,7 @@ find_package(XCB REQUIRED) find_package(XKB REQUIRED) # Qt 5 -find_package(Qt5 5.6.0 CONFIG REQUIRED Core DBus Gui Qml Quick LinguistTools) +find_package(Qt5 5.6.0 CONFIG REQUIRED Core DBus Gui Qml Quick LinguistTools Test) # find qt5 imports dir get_target_property(QMAKE_EXECUTABLE Qt5::qmake LOCATION) Index: sddm-0.17.0/test/CMakeLists.txt =================================================================== --- sddm-0.17.0.orig/test/CMakeLists.txt +++ sddm-0.17.0/test/CMakeLists.txt @@ -2,9 +2,8 @@ set(QT_USE_QTTEST TRUE) include_directories(../src/common) - set(ConfigurationTest_SRCS ConfigurationTest.cpp ../src/common/ConfigReader.cpp) add_executable(ConfigurationTest ${ConfigurationTest_SRCS}) add_test(NAME Configuration COMMAND ConfigurationTest) -qt5_use_modules(ConfigurationTest Test) +target_link_libraries(ConfigurationTest Qt5::Core Qt5::Test)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor