Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [solved] Installation problems with Pyqt - locating old version of qmake
Forum Updated to NodeBB v4.3 + New Features

[solved] Installation problems with Pyqt - locating old version of qmake

Scheduled Pinned Locked Moved Installation and Deployment
qt 5.4.1qmakepyqt
37 Posts 2 Posters 36.0k 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.
  • SGaistS SGaist

    Then why iOS and not OS X ? Otherwise, use the simulator

    P Offline
    P Offline
    Paul1234
    wrote on last edited by
    #23

    @SGaist

    Theres no reason, I just didnt realise there was a choice. So how would I install PyQt for OS X development?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #24

      Just replace the iOS qmake by the one for OS X and you should be good to go

      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
      0
      • SGaistS SGaist

        Just replace the iOS qmake by the one for OS X and you should be good to go

        P Offline
        P Offline
        Paul1234
        wrote on last edited by
        #25

        @SGaist

        Sorry I am aware that I am being really dim and these are probably very obvious questions but how do I replace the qmake, do you mean the qmake in the /Users/paulbaranowski1/Qt/5.4/ios/bin/qmake path? Do I need to redownload a Qt for OS X or are all the libraries etc the same so it doesnt matter?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #26

          Just change the path to the OS X version, if you installed Qt using the online installer and didn't select the OS X version, then just run the manager and add it. Otherwise, if you used the offline installer you should already have it.

          You can use find /Users/paulbaranowski1/Qt/5.4 -name "qmake"to find all installed qmake

          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
          0
          • SGaistS SGaist

            Just change the path to the OS X version, if you installed Qt using the online installer and didn't select the OS X version, then just run the manager and add it. Otherwise, if you used the offline installer you should already have it.

            You can use find /Users/paulbaranowski1/Qt/5.4 -name "qmake"to find all installed qmake

            P Offline
            P Offline
            Paul1234
            wrote on last edited by
            #27

            @SGaist

            So I hadn't downloaded the OS X version I think, so I decided to just start again and install Qt from the beginning. I am in the Qt setup wizard and when selecting the components my options under Qt5.4 are clang-64bit, various androids and iOS. Where do I select the OS X version?

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #28

              It's the clang-64

              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
              0
              • SGaistS SGaist

                It's the clang-64

                P Offline
                P Offline
                Paul1234
                wrote on last edited by
                #29

                @SGaist

                So that seemed to work other than I got the error:

                Generating the C++ source for the QtCore module...
                Error: Unable to create the C++ code.

                Do you have any idea why this is occurring? Again I apologise, I realise this is like when Im trying to get my mum to install word.

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #30

                  Got any error about sip not found ?

                  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
                  0
                  • SGaistS SGaist

                    Got any error about sip not found ?

                    P Offline
                    P Offline
                    Paul1234
                    wrote on last edited by
                    #31

                    @SGaist

                    I thought that may be an issue but the output includes:

                    SIP 4.16.7 is being used.
                    The sip executable is
                    /Library/Frameworks/Python.framework/Versions/2.7/bin/sip.

                    So I can only assume it has found it

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #32

                      Indeed, then check again with --verbose

                      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
                      0
                      • SGaistS SGaist

                        Indeed, then check again with --verbose

                        P Offline
                        P Offline
                        Paul1234
                        wrote on last edited by
                        #33

                        @SGaist

                        Was doing that as you replied, so things that seem a bit wierd are:

                        clang: error: no such file or directory: 'Drive/Personal/Code/PyQT/PyQt-gpl-5.4.1"'
                        Generating the C++ source for the QtCore module...
                        Error: Unable to create the C++ code.
                        Project ERROR: Unknown module(s) in QT: webenginewidgets
                        Project ERROR: Unknown module(s) in QT: axcontainer
                        Project ERROR: Unknown module(s) in QT: winextras

                        those are all the errors I can find

                        1 Reply Last reply
                        0
                        • SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #34

                          Since you tested with the iOS version before, did you restart from a clean source tree ?

                          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
                          0
                          • SGaistS SGaist

                            Since you tested with the iOS version before, did you restart from a clean source tree ?

                            P Offline
                            P Offline
                            Paul1234
                            wrote on last edited by
                            #35

                            @SGaist

                            I reinstalled from the online installer so its where it should be by default. Ive just reallised the no such file or directory is probably because I have the PyQt in a google drive folder with a space, ill move it out of there and make sure there are no spaces in teh path names

                            P 1 Reply Last reply
                            0
                            • P Paul1234

                              @SGaist

                              I reinstalled from the online installer so its where it should be by default. Ive just reallised the no such file or directory is probably because I have the PyQt in a google drive folder with a space, ill move it out of there and make sure there are no spaces in teh path names

                              P Offline
                              P Offline
                              Paul1234
                              wrote on last edited by
                              #36

                              @SGaist I think its installed! It all seemed to work perfectly, I will try and run a simple PyQt app tomorrow but I think its working! Thank you so much for your help, I really appreciate it, I would have got nowhere

                              1 Reply Last reply
                              0
                              • SGaistS Offline
                                SGaistS Offline
                                SGaist
                                Lifetime Qt Champion
                                wrote on last edited by
                                #37

                                You're welcome !

                                Since you have it up and running now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)

                                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

                                • Login

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