PDA

View Full Version : How to use Q3Listview in Qt-4.2.1



grsandeep85
16th September 2009, 08:41
Hi All,
I am using Qt-4.2.1(Suse Linux 10.2) and i have used Q3ListView in my application if i compile my application it is giving some message in the console terminal as

/usr/include/Qt3Support/q3listview.h:115: error: expected ‘,’ or ‘...’ before ‘&’ token
/usr/include/Qt3Support/q3listview.h:117: error: expected ‘,’ or ‘...’ before ‘&’ token
/usr/include/Qt3Support/q3listview.h:118: error: expected ‘,’ or ‘...’ before ‘&’ token
/usr/include/Qt3Support/q3listview.h:482: error: expected ‘,’ or ‘...’ before ‘&’ token
/usr/include/Qt3Support/q3listview.h:484: error: expected ‘,’ or ‘...’ before ‘&’ token

How to proceed further.

yogeshgokul
16th September 2009, 09:01
Please add following line in your .pro file and re run the qmake.

QT += qt3support

grsandeep85
16th September 2009, 11:50
Hi,
I tried with QT += qt3support by adding following line in your .pro file and re run the qmake. but i was getting some debug message in the console terminal as


drass:/home/dro_changed/qt4_dro/dro # qmake
drass:/home/dro_changed/qt4_dro/dro # make

/usr/include/QtGui/qstyleoption.h: In function ‘QFlags<QStyleOptionFrameV2::FrameFeature> operator|(QStyleOptionFrameV2::FrameFeature, QFlags<QStyleOptionFrameV2::FrameFeature>)’:
/usr/include/QtGui/qstyleoption.h:129: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.opensuse.org> for instructions.
make: *** [disp.o] Error 1
drass:/home/dro_changed/qt4_dro/dro #

how to proceed with this.

grsandeep85
17th September 2009, 07:04
Hi ,
If i use QT += qt3support and re run the qmake but in the console a message displayed as
make: warning: Clock skew detected. Your build may be incomplete.