Announcement

Collapse
No announcement yet.

Qt 5.3 Beta Released -- Improves Android, Adds WebSockets

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

  • #31
    Originally posted by TheBlackCat View Post
    What makes you think the two are mutually exclusive? Linux is posix-compliant. What is wrong with supporting posix where it makes sense, and add support for Linux-specific bits only when it provides real advantages?

    I provided an example of a case where Qt is supporting a Linux-specific API where it makes sense. How is that different from what you are asking for?
    systemd is not the Linux API, its just a daemon. fanotify is a Linux kernel system call. Does Qt utilize that? If it does not, is this because there are no gains to Qt?

    Comment


    • #32
      Originally posted by Honton View Post
      Abstraction is a compromise, not a goal. Qt are forced to do it extensively because they target every platform. That spells bloated jack of all platforms, master of none.
      No. You clearly have no idea what you are talking about. Without abstraction, code becomes unmanageable.
      Every pattern for good code quality is centred around abstraction, MVC and 5-layer for mentioning two.
      Project managing techniques for good project management (like SCRUM) also requires you to abstract away stuff.

      This is also very important and a ground stone in writing testable code.

      Not to mention that's the whole idea behind OO and languages like C# and Java have multiple abstraction levels
      for every single type.

      Separation of concerns...
      Last edited by Pajn; 25 March 2014, 01:48 PM.

      Comment


      • #33
        Originally posted by toka View Post
        fanotify is a Linux kernel system call. Does Qt utilize that?
        Yes, it does. The QFileSystemWatcher class has multiple backends, 1 of which is fanotify, 1 for inotify, 1 for windows, etc. Basically Qt will start out with a generic implementation of a class that works everywhere, and add additional optional backends where it makes sense because of limitations or drawbacks that they can fix. If they don't see the extra code as worthwhile, then it's not added.

        Comment


        • #34
          Originally posted by toka View Post
          systemd is not the Linux API, its just a daemon. fanotify is a Linux kernel system call. Does Qt utilize that? If it does not, is this because there are no gains to Qt?
          Well Qt does use futex(2) for the Linux implementation of QMutex, so it definitely uses Linux-specific API and not just POSIX.

          Comment


          • #35
            Originally posted by toka View Post
            Hmmm. I hope Qt is not the new X, with own 2D drivers, own printer support, own bla...
            Qt isn't a displayserver and never will be so no it can't be the new X, and it can't have it's own 2D drivers, that said like any good application framework it does include support for printing, because this is a common task that applications need to be able to do http://qt-project.org/doc/qt-4.8/printing.html . Furthermore most of your questions you've brought up could have been easily answered by skimming through the documentation on http://qt-project.org/doc/ rather than asking questions that range from okay to inane/borderline-trolling. This is not to say that asking questions is bad, but you need to start off from an informed basis to ask meaningful questions rather than trying to fish around in the dark in murky waters.

            Comment

            Working...
            X