Announcement

Collapse
No announcement yet.

What Build System Should Qt 6 Use?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #41
    Yes.

    > It is a GUI library... not an OS.

    Qt includes QtWebengine, which is very, very useful, but also makes Qt requirements complex; modern browsers are like operating systems :-O

    On the other hand, it reminded me of Qt Lite project — Qt for any size:
    - https://blog.basyskom.com/2017/qt-lite/
    - http://blog.qt.io/blog/2017/05/31/qt-lite-qt-5-9-lts/
    - http://blog.qt.io/blog/2016/08/18/in...hing-any-size/

    Comment


    • #42
      > that it will guarantee that a Qt 4 project is actually build-able in 20 years time

      As Kervala wrote: "Qt API existing since Qt 1.0 didn’t change much, I know a lot of libraries that had huge changes even in minor versions (like OpenSSL from 1.0.2 to 1.1.0). I enjoyed reading http://blog.qt.io/blog/2018/05/24/porting-from-qt-1-0/ , perhaps you'll like it, too :-)

      Comment


      • #43
        Originally posted by kpedersen View Post
        Unfortunately it will be quite hard to take advantage of Qt as a GUI system without inheriting from its base object (QObject)

        Another solution to Moc would be to use the Qt 4 fork (http://www.copperspice.com/) who have replaced the crap code that relies on it.
        You can use the built in GUI components without inheriting QObject, which will probably get you quite far in many cases.
        You can use Verdigris as Nth_man suggested which gives you copperspice-style ugly macros to replace moc, but unlike copperspice it's just a header that works with regular Qt 5.
        Or you can just use moc. A simple program that generates an extra .cpp file with some boilerplate isn't that hard to add to a build system. It doesn't preprocess or modify your code as lots of anti-moc people seem to think it does.

        On the original point, I wish they'd just use CMake. The syntax isn't perfect, but it's the most full-featured build system and it's the closest thing to a standard build system in the C++ world.
        Last edited by patstew; 26 July 2018, 05:57 PM.

        Comment


        • #44
          Originally posted by kpedersen View Post
          Unfortunately it will be quite hard to take advantage of Qt as a GUI system without inheriting from its base object (QObject)

          Another solution to Moc would be to use the Qt 4 fork (http://www.copperspice.com/) who have replaced the crap code that relies on it.
          That Copperspice stuff is truly awful. Verdigris is nice, but more of a pain than MOC, which just stays out of your way and does it's job.

          Comment

          Working...
          X