Results 1 to 4 of 4

Thread: QT3 Project

  1. #1
    Join Date
    Sep 2011
    Posts
    4
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default QT3 Project

    I'm trying to work with an old open source program that uses QT3. I've been able to build it using the make files it came with, but I'd really like to use eclipse or QT Builder to have access to code introspection, hinting, etc. I'm having trouble creating a project using the QT3 library. I'v tried all kinds of things, but still can't get it to work. My latest attempt is to use the QT Eclipse plugin, but when I try to point to qt3 I have problems:

    Screenshot-eclipseInclude.png

    I have a similar problem when I try to use QT creator:

    Screenshot-QTCreatorOptions.jpg

    Is there an older version of QT SDK or QT eclipse plugin that I should be using? Any other thoughts?

    Danwize

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

    Default Re: QT3 Project

    Qt Creator's facilities for handling Qt projects are incompatible with Qt3. You would need to use qmake to generate a Makefile for the project and then open the project in Creator through the Makefile as a custom project (not Qt-related). Functionality of Creator's text editor (like syntax highlighting, autocompletion) should be retained however you will have to manage the project itself manually.
    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 2011
    Posts
    4
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default Re: QT3 Project

    I've got it working in the eclipse IDE using ant builder. I'll have to give QT builder a shot too. I have code completion and everything, but I can't get it to highlight build errors. Not a major setback because I can just read the errors from the console output, but it would be nice. Do you know if I would get this functionality in QT builder if I use it the way you suggested?

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

    Default Re: QT3 Project

    If you mean Qt Creator then it should work out of the box. Creator does a syntax check on c++ sources so it will highlight all the problems it can detect regardless if you use Qt4 or not.
    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.


Similar Threads

  1. haw to ues project ( skin ) with anther project
    By Master Loda in forum Qt Programming
    Replies: 4
    Last Post: 22nd July 2011, 09:58
  2. How to convert QT Project to CMake project?
    By Kevin Hoang in forum Qt Programming
    Replies: 2
    Last Post: 29th March 2011, 10:48
  3. Qt project management - bigger project
    By Peppy in forum Qt Programming
    Replies: 11
    Last Post: 24th December 2010, 14:50
  4. Replies: 1
    Last Post: 4th December 2009, 00:34
  5. Project generation on linux from QT Project
    By darpan in forum Qt Programming
    Replies: 6
    Last Post: 11th December 2006, 10:43

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.