Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. What package is needed to use QMotifDialog ?
Qt 6.11 is out! See what's new in the release blog

What package is needed to use QMotifDialog ?

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 2.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    szicsi
    wrote on last edited by
    #1

    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.9

    These 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 !

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sigrid
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • S Offline
        S Offline
        szicsi
        wrote on last edited by
        #3

        Yes.
        Thank you for your help !

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved