Results 1 to 6 of 6

Thread: Old Version of Qt - Should I port?

  1. #1

    Question Old Version of Qt - Should I port?

    For one of my projects, I need to modify an old application that uses Qt. The code is poorly documented, and doesn't include the version of Qt it uses.

    The application was developed in 2007-08. From my observations, I believe the version to be Qt 2.0. This is because it includes "#include <qcanvas.h>", which I believe was replaced by q3canvas in Qt 3.0.

    Should I port the application to the latest Qt? Or would it be possible to find an older version of Qt for the purpose of modifying this application.

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

    Default Re: Old Version of Qt - Should I port?

    QCanvas is a Qt3 class and was made obsolete in Qt 4 and replaced by QGraphicsView.
    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

    Default Re: Old Version of Qt - Should I port?

    I've only started porting from Qt3 to Qt4, and already I'm losing hope. This is a very heavy application.

    Any other alternatives?

  4. #4
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Old Version of Qt - Should I port?

    You should keep trying.. QGraphicsView is a wonderful replacement and most of the latest animation and performance features are being worked upon in QGraphicsView .
    May be porting might take time and mind... but it will be fruitful in the end

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

    Default Re: Old Version of Qt - Should I port?

    Quote Originally Posted by MichelCarroll View Post
    I've only started porting from Qt3 to Qt4, and already I'm losing hope. This is a very heavy application.

    Any other alternatives?
    Did you try the automatic porting tool? It's called qt3to4 as far as I remember and is part of Qt4 distribution. It will give you a kick start. There is also an article in Qt Quarterly about porting QCanvas based code to Graphics View.
    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.


  6. #6

    Default Re: Old Version of Qt - Should I port?

    Quote Originally Posted by wysota View Post
    Did you try the automatic porting tool? It's called qt3to4 as far as I remember and is part of Qt4 distribution. It will give you a kick start. There is also an article in Qt Quarterly about porting QCanvas based code to Graphics View.
    Thank you for the suggestion. I just tried qt3to4, and it did indeed give me a kick start.

    However, I'm still trying to contact the original makers of the software. It's still a very big job, which will probably require their intervention.

Similar Threads

  1. Application deployment on Mac OS X (10.5)
    By ghorwin in forum Installation and Deployment
    Replies: 1
    Last Post: 11th March 2010, 14:38
  2. Designer doesn't load wwWidgets plugin
    By reimer in forum Installation and Deployment
    Replies: 21
    Last Post: 7th February 2009, 03:23
  3. Replies: 2
    Last Post: 5th November 2007, 21:47
  4. Distributing QT application for Mac OS
    By mb0 in forum Qt Programming
    Replies: 1
    Last Post: 31st May 2007, 18:59
  5. Replies: 15
    Last Post: 21st April 2007, 17:46

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.