Qt-interest Archive, March 2002
qlist prob
Message 1 in thread
hi
I am newbie with QT programming and this is my first
post to the list.
I start off with a simple qt3 program but seems i am
running somewhere to the walls ... ouchh!!!
i tried to fill my listview with some data but since
it didn't worked the way i wanted i tried to run a
simple test code is in the body.
i used qt3designer and created a small dialog app with
list view , i named the obj varialbe as ListView now
when i tried to input some values it refreshes and
updates the list view only after the 50000 loops.what
i want is to update it after each and every recurse.
any pointers please .
cheers
Rohit
for(int i=1;i<50000;i++)
{
ListView->viewport()->setUpdatesEnabled(TRUE);
ListView->triggerUpdate();
QString label1="rohit";
QListViewItem * item = new
QListViewItem(ListView,label1);
ListView->insertItem(item);
}
__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/
Message 2 in thread
- Subject: Problems with QT-X11-3.0.2
- From: Isledna Rodrigues <isledna@xxxxxxxxxxxxx>
- Date: Thu, 07 Mar 2002 09:40:01 -0300
- Cc: qt-interest@xxxxxxxxxxxxx
- Organization: DEMEC
- Sender: isledna
- To: unlisted-recipients:; (no To-header on input)
Hi
I'm trying to install QT3.0.2 for Linux...I'm using CL6 and in tne
machine already have installed QT 2.2.1. When execute the comand make
for to create the library and compile all examples and the tutorial
appears the following error:
--------
In file included from kernel/qt_x11.h:140,
from kernel/qinputcontext_p.h:5,
from kernel/qapplication_x11.cpp:77:
../../../X11R6/include/X11/extensions/Xrender.h:129: parse error before
`templat
e'
make[2]: *** [.obj/release/qapplication_x11.o] Error 1
make[2]: Leaving directory `/usr/local/qt/src'
make[1]: *** [sub-src] Error 2
make[1]: Leaving directory `/usr/local/qt'
make: *** [init] Error 2
Can you help me ??
Isledna
Message 3 in thread
Hi
I'm trying to install QT3.0.2 for Linux...I'm using CL6 and in the machine
already have installed QT 2.2.1. When execute the comand make for to create
the library and compile all examples and the tutorial appears the following
error:
--------
In file included from kernel/qt_x11.h:140,
from kernel/qinputcontext_p.h:5,
from kernel/qapplication_x11.cpp:77:
../../../X11R6/include/X11/extensions/Xrender.h:129: parse error before
`template'
make[2]: *** [.obj/release/qapplication_x11.o] Error 1
make[2]: Leaving directory `/usr/local/qt/src'
make[1]: *** [sub-src] Error 2
make[1]: Leaving directory `/usr/local/qt'
make: *** [init] Error 2
Can you help me ??
Isledna
Message 4 in thread
Hi,
> I'm trying to install QT3.0.2 for Linux...I'm using CL6 and in the machine
What is CL6?
> already have installed QT 2.2.1. When execute the comand make for to create
> the library and compile all examples and the tutorial appears the following
> error:
>
> --------
> In file included from kernel/qt_x11.h:140,
> from kernel/qinputcontext_p.h:5,
> from kernel/qapplication_x11.cpp:77:
> ../../../X11R6/include/X11/extensions/Xrender.h:129: parse error before
> `template'
> make[2]: *** [.obj/release/qapplication_x11.o] Error 1
> make[2]: Leaving directory `/usr/local/qt/src'
> make[1]: *** [sub-src] Error 2
> make[1]: Leaving directory `/usr/local/qt'
> make: *** [init] Error 2
>
> Can you help me ??
This looks like a bug in your Linux distribution. There should be no
'template' in Xrender.h.
Dimitri