summaryrefslogtreecommitdiff
path: root/pcr/musescore/qmake-qt4.patch
blob: 27c50d8b32cdabf02ecebc334f5ea00674aebcef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
diff -Naur mscore-1.3.orig/Makefile mscore-1.3.new/Makefile
--- mscore-1.3.orig/Makefile	2013-03-05 18:41:00.000000000 +0100
+++ mscore-1.3.new/Makefile	2013-03-05 18:55:46.000000000 +0100
@@ -34,6 +34,7 @@
             cd build;                                  \
             cmake -DCMAKE_BUILD_TYPE=RELEASE	       \
             	  -DCMAKE_INSTALL_PREFIX="${PREFIX}" \
+	          -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4 \
             	   ../mscore; 			       \
             make lrelease;                             \
             make -j ${CPUS};                           \
diff -Naur mscore-1.3.orig/mscore/CMakeLists.txt mscore-1.3.new/mscore/CMakeLists.txt
--- mscore-1.3.orig/mscore/CMakeLists.txt	2013-03-05 18:41:27.000000000 +0100
+++ mscore-1.3.new/mscore/CMakeLists.txt	2013-03-05 18:54:35.000000000 +0100
@@ -427,8 +427,8 @@
 
 add_custom_target(lrelease
    COMMAND ${PROJECT_SOURCE_DIR}/gen-qt-projectfile ${PROJECT_SOURCE_DIR} > mscore.pro
-   COMMAND lrelease ${PROJECT_SOURCE_DIR}/share/locale/*.ts
-   COMMAND lrelease ${PROJECT_SOURCE_DIR}/share/plugins/musescore.com/translations/*.ts
+   COMMAND lrelease-qt4 ${PROJECT_SOURCE_DIR}/share/locale/*.ts
+   COMMAND lrelease-qt4 ${PROJECT_SOURCE_DIR}/share/plugins/musescore.com/translations/*.ts
    WORKING_DIRECTORY ${PROJECT_BINARY_DIR}
    )