Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt -Windows Vs Linux
Qt 6.11 is out! See what's new in the release blog

Qt -Windows Vs Linux

Scheduled Pinned Locked Moved General and Desktop
16 Posts 7 Posters 10.4k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vpwal
    wrote on last edited by
    #3

    Hi sierdzio.
    Thanks for reply..

    I need to know -Is development in linux is more harder than windows?If yes then Why?

    1 Reply Last reply
    0
    • sierdzioS Online
      sierdzioS Online
      sierdzio
      Moderators
      wrote on last edited by
      #4

      Not in my experience, no. I think developing on and using Linux is much easier than Windows. Installing all dependencies is easy (just a single command, usually), you have bigger choice of compilers (which are more advanced and less buggy than MSVC or MinGW), and the environment makes (at least me) more productive because of it's functionality (virtual desktops, tabbed windows, etc.). If you make a mistake, or even break your setup - reinstalling the system takes just a few minutes (30 - 60). But that happens very rarely (or never).

      (Z(:^

      1 Reply Last reply
      2
      • K Offline
        K Offline
        koahnig
        wrote on last edited by
        #5

        [quote author="sierdzio" date="1418119025"]Not in my experience, no. I think developing on and using Linux is much easier than Windows. Installing all dependencies is easy (just a single command, usually), you have bigger choice of compilers (which are more advanced and less buggy than MSVC or MinGW), and the environment makes (at least me) more productive because of it's functionality (virtual desktops, tabbed windows, etc.). If you make a mistake, or even break your setup - reinstalling the system takes just a few minutes (30 - 60). But that happens very rarely (or never).[/quote]

        @ sierdzio: please can you elaborate a bit more on larger number of Linux compilers?
        The precompilations are for GNU C++. A google search for different C++ compilers basically pops up GNU all over the place. Are you refering to different languages then?
        Is there really a difference between MinGW and its Linux GNU variants?

        Vote the answer(s) that helped you to solve your issue(s)

        1 Reply Last reply
        0
        • sierdzioS Online
          sierdzioS Online
          sierdzio
          Moderators
          wrote on last edited by
          #6

          Well, there is clang and g++ (GCC). They are compatible with one another, and both of very high quality (and free). And Intel's compiler, of course (but that is available on all platforms).

          MinGW is lagging behind g++ (because it needs to be patched to work on Windows), has some features missing and tends to be buggy. But it is improving, as far as I've hear. It is not compatible with MSVC.

          (Z(:^

          JoeCFDJ 1 Reply Last reply
          0
          • K Offline
            K Offline
            koahnig
            wrote on last edited by
            #7

            There is apparently also a clang version for windows.

            Strictly counting this would make more for windows. ;-)

            However, that is not the point. You are right that MinGW is lagging behind. I have not encountered real bugs of MinGW yet. The most annoying is that you have to adapt to different flavors when changing from MinGW to Linux gcc.

            Vote the answer(s) that helped you to solve your issue(s)

            1 Reply Last reply
            0
            • sierdzioS Online
              sierdzioS Online
              sierdzio
              Moderators
              wrote on last edited by
              #8

              [quote author="koahnig" date="1418123567"]Strictly counting this would make more for windows. ;-)[/quote]

              Indeed, but I've noticed that too late to correct my post. And then it was too embarassing, so to speak :P

              (Z(:^

              1 Reply Last reply
              0
              • V Offline
                V Offline
                vpwal
                wrote on last edited by
                #9

                Guys.
                i also noticed that there is no debugger comes with Qt creator on Windows.
                you have to install CDB and then set .
                Whereas, Qt creator in Linux they provide in-built debugger.
                Why so?

                1 Reply Last reply
                0
                • sierdzioS Online
                  sierdzioS Online
                  sierdzio
                  Moderators
                  wrote on last edited by
                  #10

                  [quote author="vpwal" date="1418124399"]Guys.
                  i also noticed that there is no debugger comes with Qt creator on Windows.
                  you have to install CDB and then set .
                  Whereas, Qt creator in Linux they provide in-built debugger.
                  Why so?[/quote]

                  That is not correct. Qt does not include the compiler, nor the debugger, on any platform. You need to install dependencies yourself. The only exception is (I think) Windows MinGW build.

                  (Z(:^

                  1 Reply Last reply
                  1
                  • K Offline
                    K Offline
                    koahnig
                    wrote on last edited by
                    #11

                    With MinGW on windows you have to use GDB.
                    Sometimes it is not setup properly, I believe.

                    Well, in current windows Qt 5.3.1 setup it is autmatically detected. I have installed Qt libs thorugh the online installer and have also installed MinGW through the online installer.

                    On Windows (also on Linux of cource) you can go to project and there is manage kits you will come to "Bulid&Run" under tab Debuggers it sais in my case "c:\Qt\Tools\mingw482_32\bin\gdb.exe". You can go to this menu also through "Tools"->"Options". Eventually you have to select manually GDB coming with your MinGW installation.

                    Vote the answer(s) that helped you to solve your issue(s)

                    1 Reply Last reply
                    0
                    • K Offline
                      K Offline
                      koahnig
                      wrote on last edited by
                      #12

                      [quote author="sierdzio" date="1418123957"][quote author="koahnig" date="1418123567"]Strictly counting this would make more for windows. ;-)[/quote]

                      Indeed, but I've noticed that too late to correct my post. And then it was too embarassing, so to speak :P[/quote]
                      :D

                      At least it caused my question, because I was not sure if I missed something essential ;-)

                      Vote the answer(s) that helped you to solve your issue(s)

                      1 Reply Last reply
                      0
                      • JKSHJ Offline
                        JKSHJ Offline
                        JKSH
                        Moderators
                        wrote on last edited by
                        #13

                        [quote author="vpwal" date="1418124399"]Guys.
                        i also noticed that there is no debugger comes with Qt creator on Windows.
                        you have to install CDB and then set .
                        Whereas, Qt creator in Linux they provide in-built debugger.
                        Why so?[/quote]Qt Creator did not provide the debugger. Your Linux distro provided the debugger.

                        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                        1 Reply Last reply
                        0
                        • J Offline
                          J Offline
                          james b-s
                          wrote last edited by
                          #14

                          In Qt6, there are differences in behavior between windows and linux. It would be nice to have a list. Here's one:
                          "On Qt6 on Linux, the right mouse button typically triggers context menus directly rather than stealing keyboard or active focus from existing elements."

                          Qt6 linux, right mouse click does not change focus. On windows, it does change focus

                          JonBJ 1 Reply Last reply
                          0
                          • sierdzioS sierdzio

                            Well, there is clang and g++ (GCC). They are compatible with one another, and both of very high quality (and free). And Intel's compiler, of course (but that is available on all platforms).

                            MinGW is lagging behind g++ (because it needs to be patched to work on Windows), has some features missing and tends to be buggy. But it is improving, as far as I've hear. It is not compatible with MSVC.

                            JoeCFDJ Offline
                            JoeCFDJ Offline
                            JoeCFD
                            wrote last edited by
                            #15

                            @sierdzio Intel compiler is available on both Windows and Linux. But on Linux, gcc is better than Intel compiler now. One good feature about Intel compiler on Windows is that it supports OpenMP well while Windows is trying to develop its own parallel module and lacks support for OpenMP.

                            1 Reply Last reply
                            0
                            • J james b-s

                              In Qt6, there are differences in behavior between windows and linux. It would be nice to have a list. Here's one:
                              "On Qt6 on Linux, the right mouse button typically triggers context menus directly rather than stealing keyboard or active focus from existing elements."

                              Qt6 linux, right mouse click does not change focus. On windows, it does change focus

                              JonBJ Online
                              JonBJ Online
                              JonB
                              wrote last edited by
                              #16

                              @james-b-s
                              Well there isn't any such list (so far as I am aware)!

                              Is the difference in behaviour you note particularly Qt? Does it also occur in "native" programs on that platform, like a simple Notepad-type application? On Linux there are also variations of desktop manager and display server protocol which might alter such behaviour, possibly?

                              1 Reply Last reply
                              1

                              • Login

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • Users
                              • Groups
                              • Search
                              • Get Qt Extensions
                              • Unsolved