Adding newer QT version to a project

I’m building a program to vizualize meteo data. It requires a recent version of QT, which is not present in openSUSE 11.1.

So I added QT46 to the build environment (raw configuration):

<repository name=“openSUSE_11.1”>

<path repository=“standard” project=“openSUSE:11.1”/>

<path repository=“openSUSE_11.1” project=“KDE:Qt46”/>

but…still the build fails with

g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -D_REENTRANT -Wall -W -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include/QtXml -I/usr/include -I. -Iutil -Imap -IGUI -Ibzip2 -Izlib-1.2.3 -Iproj-4.6.0/src -Iobjs -IGUI -o objs/LongTaskProgress.o LongTaskProgress.cpp
LongTaskProgress.cpp: In member function ‘void LongTaskProgress::setValue(int)’:
LongTaskProgress.cpp:71: error: ‘class QProgressDialog’ has no member named ‘open’

openSUSE 11.2 and 11.3 are fine (without QT46 added).
Anyone an idea why it does not work?

Solved (Thanks to Michael Schröder): The sequence of entries is a search path, so the QT entry should come first:

<repository name=“openSUSE_11.1”>

<path repository=“openSUSE_11.1” project=“KDE:Qt46”/>

…and that helped