Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Building QT with cygwin.
Forum Update on Monday, May 27th 2025

Building QT with cygwin.

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
11 Posts 4 Posters 1.5k Views
  • 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.
  • P Offline
    P Offline
    Pawankumar
    wrote on 22 Nov 2023, 03:30 last edited by
    #1

    I want to build my QT application using Cygwin instead of mingw.
    If anyone has any idea to achieve this .Please help me out.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 22 Nov 2023, 21:03 last edited by
      #2

      Hi,

      You should check with the folks that provide the Qt packages on Cygwin or directly use their Qt packages.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • P Offline
        P Offline
        Pawankumar
        wrote on 24 Nov 2023, 03:17 last edited by
        #3

        @Pawankumar I am using QT 6.2.7 on windows platform.

        S 1 Reply Last reply 25 Nov 2023, 20:19
        0
        • P Pawankumar
          24 Nov 2023, 03:17

          @Pawankumar I am using QT 6.2.7 on windows platform.

          S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 25 Nov 2023, 20:19 last edited by
          #4

          @Pawankumar said in Building QT with cygwin.:

          @Pawankumar I am using QT 6.2.7 on windows platform.

          My recommendation stands.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • P Offline
            P Offline
            Pawankumar
            wrote on 28 Nov 2023, 10:15 last edited by
            #5

            @Pawankumar I have reached to QT support for this help but they don't have support for cygwin.
            If anyone have done before they can help me out to build my application.

            S 1 Reply Last reply 28 Nov 2023, 23:25
            0
            • P Pawankumar
              28 Nov 2023, 10:15

              @Pawankumar I have reached to QT support for this help but they don't have support for cygwin.
              If anyone have done before they can help me out to build my application.

              S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 28 Nov 2023, 23:25 last edited by
              #6

              @Pawankumar As already suggested: Did you check with the folks that are providing the Cygwin Qt packages ?

              From a quick check, there's no Qt 6 packages over there and the Qt 5 packages are orphaned which make things even more complicated beside the fact that there was nothing done over there for the last 5 years.

              So before trying to go further, why do you need cygwin in the first place ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              P 1 Reply Last reply 30 Nov 2023, 04:15
              1
              • S SGaist
                28 Nov 2023, 23:25

                @Pawankumar As already suggested: Did you check with the folks that are providing the Cygwin Qt packages ?

                From a quick check, there's no Qt 6 packages over there and the Qt 5 packages are orphaned which make things even more complicated beside the fact that there was nothing done over there for the last 5 years.

                So before trying to go further, why do you need cygwin in the first place ?

                P Offline
                P Offline
                Pawankumar
                wrote on 30 Nov 2023, 04:15 last edited by
                #7

                @SGaist I am currently developing a application linux which is using posix threads on ubuntu so the same code i want to in my application to run on windows but unable to do so because windows does not support it. So by using cygwin we can that I think so.

                J 1 Reply Last reply 30 Nov 2023, 06:18
                0
                • P Pawankumar
                  30 Nov 2023, 04:15

                  @SGaist I am currently developing a application linux which is using posix threads on ubuntu so the same code i want to in my application to run on windows but unable to do so because windows does not support it. So by using cygwin we can that I think so.

                  J Offline
                  J Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on 30 Nov 2023, 06:18 last edited by
                  #8

                  @Pawankumar said in Building QT with cygwin.:

                  posix threads

                  Is this a hard requirement? If not you could use Qt threading capabilities like QThread and others.

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  P 1 Reply Last reply 5 Dec 2023, 03:07
                  2
                  • J jsulm
                    30 Nov 2023, 06:18

                    @Pawankumar said in Building QT with cygwin.:

                    posix threads

                    Is this a hard requirement? If not you could use Qt threading capabilities like QThread and others.

                    P Offline
                    P Offline
                    Pawankumar
                    wrote on 5 Dec 2023, 03:07 last edited by
                    #9

                    @jsulm Yes as i want to keep my code same for both the platforms i.e linux and windows. And in linux i have used possix threads but in windows i am unable to do so. So cygwin is the best which can be used to it.

                    C J 2 Replies Last reply 5 Dec 2023, 05:18
                    0
                    • P Pawankumar
                      5 Dec 2023, 03:07

                      @jsulm Yes as i want to keep my code same for both the platforms i.e linux and windows. And in linux i have used possix threads but in windows i am unable to do so. So cygwin is the best which can be used to it.

                      C Offline
                      C Offline
                      Christian Ehrlicher
                      Lifetime Qt Champion
                      wrote on 5 Dec 2023, 05:18 last edited by
                      #10

                      @Pawankumar said in Building QT with cygwin.:

                      Yes as i want to keep my code same for both the platforms i.e linux and windows

                      Then use QThread...

                      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                      Visit the Qt Academy at https://academy.qt.io/catalog

                      1 Reply Last reply
                      0
                      • P Pawankumar
                        5 Dec 2023, 03:07

                        @jsulm Yes as i want to keep my code same for both the platforms i.e linux and windows. And in linux i have used possix threads but in windows i am unable to do so. So cygwin is the best which can be used to it.

                        J Offline
                        J Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on 5 Dec 2023, 06:32 last edited by
                        #11

                        @Pawankumar Then why don't you simply use QThread?! Way easier to have code working on Linux and Windows (and MacOS) without the need to waste time with Cygwin...

                        https://forum.qt.io/topic/113070/qt-code-of-conduct

                        1 Reply Last reply
                        0

                        1/11

                        22 Nov 2023, 03:30

                        • Login

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