Results 1 to 8 of 8

Thread: Best way porting linux software written in C Gtk Ecplipse to C++ Qt Qt Creator?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Best way porting linux software written in C Gtk Ecplipse to C++ Qt Qt Creator?

    It should be possible to import a makefile base project into QtCreator, but also to use Eclipse for the Qt version.

    One migration technique when coming from a different UI technologie is to
    - first remove the old library from the build system, in your case GTK
    - then #ifdef everything that does not compile anymore
    - then work from main() down, porting each #ifdef'ed part as you encounter it

    Rewriting from scratch has the risk that you could miss things that the old applications was able to do or make mistakes when implementing processing logic.
    Especially since this is, as you write, a complex application.

    Cheers,
    _

    If this is something that a company needs to have done, I would even suggest to at least get an offer from one of the Qt service providers who have many years of experience with these kind of migrations.
    Some of them even do such estimates for free.

  2. The following user says thank you to anda_skoa for this useful post:

    Grumpy (5th February 2016)

Similar Threads

  1. Replies: 2
    Last Post: 20th February 2013, 18:52
  2. How can I know what QT version a software was written on?
    By gilamran in forum Qt Programming
    Replies: 1
    Last Post: 28th October 2010, 23:15
  3. Linux to Windows Porting
    By qtprogrammer12345 in forum Qt Tools
    Replies: 1
    Last Post: 23rd May 2008, 07:28
  4. Porting Qt Application from Windows to Linux
    By rajeshs in forum Qt Programming
    Replies: 7
    Last Post: 12th July 2007, 13:30
  5. Porting Qt3 linux app to windows qt4
    By Philip_Anselmo in forum Qt Programming
    Replies: 7
    Last Post: 15th May 2006, 18:44

Tags for this Thread

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.