Results 1 to 3 of 3

Thread: From Qt3 to QT4

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2008
    Posts
    54
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    3
    Thanked 10 Times in 5 Posts
    Wiki edits
    2

    Default From Qt3 to QT4

    Hello,

    While moving from a qt3support code base to qt4 without qt3support I ran in a strange issue with the UIC.

    In qt3support codebase we used uic3 and the QT3 ui files.

    With the help of uic3 I converted this to a qt4 ui file with qt3support. Than I replaced all qt3 classes with qt4 classes.

    But when I used uic to create the header file I got a include for qt3 support.
    #include <Qt3Support/Q3MimeSourceFactory>

    So I used the -n option but that did not help.

    Removing the mimesource line from the ui file did help.
    <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>

    Is this correct?

    Regards,

    Marcel

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: From Qt3 to QT4

    Did you open (and save) the file in Qt4 Designer?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Sep 2008
    Posts
    54
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    3
    Thanked 10 Times in 5 Posts
    Wiki edits
    2

    Default Re: From Qt3 to QT4

    Quote Originally Posted by wysota View Post
    Did you open (and save) the file in Qt4 Designer?
    Hello,

    Yes, I did. I found out that a lot of QT3 things are not removed. Like custom slots and their signal slot connection.

    Regards,

    Marcel

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.