Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:LPechacek
qpitch
qpitch-1.0.1-switch-to-qt5.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qpitch-1.0.1-switch-to-qt5.patch of Package qpitch
diff -ruN qpitch-1.0.1/src/CMakeLists.txt qpitch-1.0.1-qt5/src/CMakeLists.txt --- qpitch-1.0.1/src/CMakeLists.txt 2009-05-21 23:33:02.000000000 +0200 +++ qpitch-1.0.1-qt5/src/CMakeLists.txt 2017-03-08 09:12:06.501922014 +0100 @@ -55,26 +55,21 @@ # find the required libraries and sets the corresponding environment variables -find_package( Qt4 REQUIRED ) +find_package( Qt5 REQUIRED COMPONENTS Core Widgets ) find_package( Portaudio REQUIRED ) find_package( FFTW3 REQUIRED ) -# QT_USE_FILE is a variable defined by find_package( Qt4 ) that contains a -# path to CMake -include( ${QT_USE_FILE} ) - - # run rcc on all resources files -qt4_add_resources( QPITCH_RC_SRCS ${QPITCH_RCS} ) +qt5_add_resources( QPITCH_RC_SRCS ${QPITCH_RCS} ) # run uic on all forms files -qt4_wrap_ui( QPITCH_UI_HDRS ${QPITCH_UIS} ) +qt5_wrap_ui( QPITCH_UI_HDRS ${QPITCH_UIS} ) # run moc on all intermediate files -qt4_wrap_cpp( QPITCH_MOC_SRCS ${QPITCH_MOC_HDRS} ) +qt5_wrap_cpp( QPITCH_MOC_SRCS ${QPITCH_MOC_HDRS} ) # include headers produced by uic in our code @@ -97,6 +92,8 @@ ) +qt5_use_modules( qpitch Core Widgets ) + # add library dependencies needed by the executable (variables are filled # by FIND_PACKAGE) target_link_libraries( qpitch diff -ruN qpitch-1.0.1/src/qpitch.pro qpitch-1.0.1-qt5/src/qpitch.pro --- qpitch-1.0.1/src/qpitch.pro 2009-04-28 21:29:09.000000000 +0200 +++ qpitch-1.0.1-qt5/src/qpitch.pro 2017-03-08 08:43:26.254053778 +0100 @@ -1,4 +1,5 @@ # .pro configuration file for the qpitch application +QT += core widgets TEMPLATE = app
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