What package is needed to use QMotifDialog ?
-
Hi,
I'm trying to compile an old code using Qt on a SLES11.1 machine.
My code contains the following line:
QMotifDialog((QWidget*)0)and I'm searching for an rpm to install which includes the respective .h file and the library of course.
I'm trying to compile a 32 bit application and I have the ollowing qt related packages installed from SLES install dvd:
libqt4-4.6.2-1.6.9
libqt4-x11-4.6.2-1.6.9
libqt4-32bit-4.6.2-1.6.9
qt3-32bit-3.3.8b-88.21
yast2-qt-pkg-2.18.20-1.2.35
qt3-devel-3.3.8b-88.21
qt3-3.3.8b-88.21
libqt4-qt3support-32bit-4.6.2-1.6.9
libqt4-sql-4.6.2-1.6.9
libqt4-sql-mysql-4.6.2-1.6.11
yast2-qt-2.18.11-0.2.12
qt3-devel-32bit-3.3.8b-88.21
libqt4-sql-32bit-4.6.2-1.6.9
libqt4-qt3support-4.6.2-1.6.9
libqt4-x11-32bit-4.6.2-1.6.9These packages does not contain the qmotifdialog.h file, so what I did: I downloaded the qt-devel-3.1.1-6.i386.rpm from here:
http://www.wesmo.com/rpm2html/contributed/RPMS/qt-devel-3.1.1-6.i386.html
extracted the qmotifdialog.h file and placed to :
/usr/lib/qt3/include/I know this is a hack (probably even don't have the library yet containing th esymbol) but even this .h file doesn't contain a constructor with that signature I use in my code.
So what would be the right way to be able to compile and link that code ?
Thanks in advance !
-
Is it the QMotifDialog from Qt 3.3 you want to use?
http://doc.qt.nokia.com/3.3/classes.html
If so, you can get hold of Qt 3.3 from here:
ftp://ftp.qt.nokia.com/qt/source/
and that version should contain the QMotifDialog
-
Yes.
Thank you for your help !