[Bug 1180] New: build Qt tests with lsbcc/lsbc++

[email protected] Fri, 27 Jan 2006 08:57:00 -0500
Newsgroups gmane.linux.lsb.test-suite
Message-ID <[email protected]>
This patch can be applied to build Qt's autotests with lsbcc instead of the 
system's gcc. 
 
Index: qtestlib.pro 
=================================================================== 
RCS file: /cvsroot/lsb/tests/lsb-desktop-test/lsb-qt/qtestlib/qtestlib.pro,v 
retrieving revision 1.3 
diff -u -3 -p -r1.3 qtestlib.pro 
--- qtestlib.pro        24 Jan 2006 03:38:00 -0000      1.3 
+++ qtestlib.pro        27 Jan 2006 13:56:17 -0000 
@@ -42,3 +42,5 @@ DEFINES += QT_NO_CAST_TO_ASCII QT_NO_CAS 
 
 embedded:QMAKE_CXXFLAGS+=-fno-rtti 
 
+QMAKE_CC = lsbcc 
+QMAKE_CXX = lsbc++ 
 
Index: tests.pri  
===================================================================  
RCS file: /cvsroot/lsb/tests/lsb-desktop-test/lsb-qt/tests/tests.pri,v  
retrieving revision 1.3  
diff -u -3 -p -r1.3 tests.pri  
--- tests.pri   24 Jan 2006 03:38:00 -0000      1.3  
+++ tests.pri   27 Jan 2006 13:49:41 -0000  
@@ -4,3 +4,6 @@ INCLUDEPATH += ../.. ../../QtTest  
 CONFIG(debug, debug|release):LIBS += ../../lib/libQtTest_debug.a  
 CONFIG(release, debug|release):LIBS += ../../lib/libQtTest.a  
 LIBS += $(LSBHOME)/tests/misc/tetj/libtetj.a  
+  
+QMAKE_CC = lsbcc  
+QMAKE_CXX = lsbc++   
 
--    
Configure bugmail: http://bugs.linuxbase.org/userprefs.cgi?tab=email   
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.