Results 1 to 3 of 3

Thread: Adopting CMake?

  1. #1
    Join Date
    Feb 2007
    Posts
    24
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Adopting CMake?

    Considering that CMake is much more flexible than qmake is; and that KDE has already adopted it as their official build tool... has Trolltech considered adopting it as a replacement for qmake?

    Qmake is a very convenient tool (with it's automagic .pro file generation, etc.), but standardizing with the direction of it's user base (namely the KDE community as well as general C, C++ projects) would be a very good way to go in my opinion.

    CMake just needs to accommodate automagic CMakeLists file generation for Qt specific projects.
    I for one would be very pleased if it was standardized across the Qt community.

    -travlr
    Last edited by travlr; 17th February 2007 at 19:36.

  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: Adopting CMake?

    This is a good question although the first question should be "does CMake exist and work flawlessly for all platform Qt supports (including embedded ones)?". On the other hand Trolltech proved to bias towards its own solutions where possible (due to licencing issues?), so I think this won't happen and certainly not before Qt5. But I don't see a reason why CMake shouldn't support QMake projects. One could even write a tool to convert between the two (or maybe such a tool already exists?).

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Adopting CMake?

    Quote Originally Posted by travlr View Post
    has Trolltech considered adopting it as a replacement for qmake?
    You will have to ask the Trolls, but I think that they will stay with qmake, because it's their own tool and they have a full control over it.

    Quote Originally Posted by travlr View Post
    I for one would be very pleased if it was standardized across the Qt community.
    Even if CMake will become the standard tool, it doesn't mean that qmake must die.

Similar Threads

  1. Qt with cmake on windows xp
    By Ashish in forum Newbie
    Replies: 1
    Last Post: 6th October 2006, 22:59
  2. CMake and pthreads
    By Matt Smith in forum General Discussion
    Replies: 5
    Last Post: 3rd September 2006, 20:42

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.