Results 1 to 11 of 11

Thread: C++ Ide

  1. #1
    Join Date
    Mar 2007
    Location
    Vienna / Austria
    Posts
    54
    Thanks
    7
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default C++ Ide

    I am a newbie at Qt4.2 and I wanna know:

    In wich IDE do you write your C++ files???

    Under Linux and/or under Windows?


    Best Regards,

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

    Default Re: C++ Ide

    KDevelop under Linux. And for Windows also in KDevelop (under Linux) and then copy it to Windows and compile using MinGW or MSVC. Very rarely I use Visual Studio.

  3. The following user says thank you to wysota for this useful post:

    Walsi (28th March 2007)

  4. #3
    Join Date
    Mar 2007
    Location
    Vienna / Austria
    Posts
    54
    Thanks
    7
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: C++ Ide

    Thanks for your quick answer!
    Okay, KDevelop, that was just the IDE which I thought to use.

    Imagine, I am a very new newbie at Qt, so I have another Question:

    I am Installing qt4.2 (opensource)

    I am Installing Kdevelop (newest Version)

    Now, must I configure KDevelop anyway to use Qt4.2 with it, or should I write with it only ma cpp and h-files and should I compile it in the terminal with

    "qmake -project && qmake && make" like it is explained in the Install Manual from Qt4.2

    Best regards, I hope you can help me.

  5. #4
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: C++ Ide

    I suggest you to have a look at the Qt Software section... 3 Qt4 IDEs have been announced already. If you prefer using "stable" products, which rarely have a decent Qt4 support on the other hand, you can always try KDevelop, as already mentioned, Ajunta, Dev-C++, Code::Blocks, Visual Studio, ...
    Current Qt projects : QCodeEdit, RotiDeCode

  6. #5
    Join Date
    Aug 2006
    Location
    Switzerland
    Posts
    52
    Thanked 13 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: C++ Ide

    Quote Originally Posted by Walsi View Post
    In wich IDE do you write your C++ files???
    (G)Vim with OmniCppComplete and some other tweaks (folding, bracket autoclosing, etc.)
    The Wheel weaves as the Wheel wills.

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

    Default Re: C++ Ide

    Quote Originally Posted by Walsi View Post
    Now, must I configure KDevelop anyway to use Qt4.2 with it, or should I write with it only ma cpp and h-files and should I compile it in the terminal with

    "qmake -project && qmake && make" like it is explained in the Install Manual from Qt4.2
    The newest version should work out of a box. Just take a look at the project options dialog and make sure an appropriate checkmark is checked and proper paths are used so that KDevelop knows where to find your Qt4.2 installation.

  8. #7
    Join Date
    Jan 2006
    Location
    Athens - Greece
    Posts
    219
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: C++ Ide

    I am using eclipse for everything that has to do with programming. There is a wiki entry here in qtcentre that explains how to use it for Qt development. I am also using qtclipse on top of it and waiting for this
    I love deadlines. I like the whooshing sound they make as they fly by.
    --
    Douglas Adams

  9. #8
    Join Date
    Mar 2007
    Location
    Vienna / Austria
    Posts
    54
    Thanks
    7
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: C++ Ide

    Thanks for all your answers. I am going to install some different IDEs and test them.

    Thx

    Best Regards,...

    PS: I also prefer KDE, so I will download and install the newest Version of it.
    Please correct me if I am not right, the newest Version of KDevelop is 3.4?!?!?
    Last edited by Walsi; 29th March 2007 at 08:15.

  10. #9
    Join Date
    Mar 2007
    Location
    Vienna / Austria
    Posts
    54
    Thanks
    7
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: C++ Ide

    Hy there, ....

    I got another Problem while installing KDevelop 3.4.
    Before installing kDevelop 3.4, I installed Qt-4.2 into the Folder /usr/local/Trolltech/Qt-4.2.3/

    At configuring KDevelop (./configure) he checked for some Qt include and library files. He searched them in /usr/share/qt3/include and /usr/share/qt3/lib and said okay.

    But at building (make) I got following error:

    Qt Code:
    1. mainwindow.cpp:117:30: error: qassistantclient.h: No such file or directory
    2. mainwindow.cpp: In constructor 'MainWindow::MainWindow(KDevDesignerPart*, bool, bool, const QString&)':
    3. mainwindow.cpp:279: error: invalid use of undefined type 'struct QAssistantClient'
    4. mainwindow.h:68: error: forward declaration of 'struct QAssistantClient'
    5. mainwindow.cpp: In member function 'void MainWindow::helpContents()':
    6. mainwindow.cpp:806: error: invalid use of undefined type 'struct QAssistantClient'
    7. mainwindow.h:68: error: forward declaration of 'struct QAssistantClient'
    8. mainwindow.cpp: In member function 'void MainWindow::helpManual()':
    9. mainwindow.cpp:811: error: invalid use of undefined type 'struct QAssistantClient'
    10. mainwindow.h:68: error: forward declaration of 'struct QAssistantClient'
    11. mainwindow.cpp: In member function 'void MainWindow::showDialogHelp()':
    12. mainwindow.cpp:2913: error: invalid use of undefined type 'struct QAssistantClient'
    13. mainwindow.h:68: error: forward declaration of 'struct QAssistantClient'
    14. make[4]: *** [mainwindow.lo] Error 1
    15. make[4]: Leaving directory `/home/nb100146/kdevelop-3.4.0/kdevdesigner/designer'
    16. make[3]: *** [all-recursive] Error 1
    17. make[3]: Leaving directory `/home/nb100146/kdevelop-3.4.0/kdevdesigner/designer'
    18. make[2]: *** [all-recursive] Error 1
    19. make[2]: Leaving directory `/home/nb100146/kdevelop-3.4.0/kdevdesigner'
    20. make[1]: *** [all-recursive] Error 1
    21. make[1]: Leaving directory `/home/nb100146/kdevelop-3.4.0'
    22. make: *** [all] Error 2
    23. nb100146@nb100146-laptop:~/kdevelop-3.4.0$ ić/usr/share/qt3
    To copy to clipboard, switch view to plain text mode 

    And I got this error also when I manually edit the makefile after ./configure.


    What can I do now?

    Best Regards!

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

    Default Re: C++ Ide

    Do you have a full install of Qt3? Including the assistant client library...

  12. #11
    Join Date
    Mar 2007
    Location
    Vienna / Austria
    Posts
    54
    Thanks
    7
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Unhappy Re: C++ Ide

    Oh my God,....

    I only installed Qt4.2.3 on my system. And I got it from Trolltech.com

    So I also have to install Qt3??

    Or must I only install the qt3 lib packages which a achieve from apt-get?


    Best Regards?

    edit: I am afraid of installing wrong packages which destroy or overwrite my Qt4.2.

    Yes I am also a little Newbie on Linux!
    Last edited by Walsi; 29th March 2007 at 15:18.

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.