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 Updated to NodeBB v4.3 + New Features

Building QT with cygwin.

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
11 Posts 4 Posters 1.5k Views 1 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.
  • P Offline
    P Offline
    Pawankumar
    wrote on 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
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on 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 last edited by
        #3

        @Pawankumar I am using QT 6.2.7 on windows platform.

        SGaistS 1 Reply Last reply
        0
        • P Pawankumar

          @Pawankumar I am using QT 6.2.7 on windows platform.

          SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on 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 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.

            SGaistS 1 Reply Last reply
            0
            • P Pawankumar

              @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.

              SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on 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
              1
              • SGaistS SGaist

                @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 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.

                jsulmJ 1 Reply Last reply
                0
                • P Pawankumar

                  @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.

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on 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
                  2
                  • jsulmJ jsulm

                    @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 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.

                    Christian EhrlicherC jsulmJ 2 Replies Last reply
                    0
                    • P Pawankumar

                      @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.

                      Christian EhrlicherC Online
                      Christian EhrlicherC Online
                      Christian Ehrlicher
                      Lifetime Qt Champion
                      wrote on 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

                        @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.

                        jsulmJ Offline
                        jsulmJ Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on 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

                        • Login

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