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

[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 34.8k 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.
  • S Offline
    S Offline
    SGaist
    Lifetime Qt Champion
    wrote on 7 Apr 2015, 21:52 last edited by
    #16

    Did you subscribe to Apple's iOS developer program ?

    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 7 Apr 2015, 21:54
    0
    • S SGaist
      7 Apr 2015, 21:52

      Did you subscribe to Apple's iOS developer program ?

      P Offline
      P Offline
      Paul1234
      wrote on 7 Apr 2015, 21:54 last edited by
      #17

      @SGaist

      I dont think so, why?

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 7 Apr 2015, 21:58 last edited by
        #18

        Because developing/testing directly on a device requires that subscription, but the emulator not.

        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 7 Apr 2015, 22:01
        0
        • S SGaist
          7 Apr 2015, 21:58

          Because developing/testing directly on a device requires that subscription, but the emulator not.

          P Offline
          P Offline
          Paul1234
          wrote on 7 Apr 2015, 22:01 last edited by
          #19

          @SGaist

          So to install Pyqt you have to have a developers subscription even if you aren't doing it commercially?

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 7 Apr 2015, 22:12 last edited by
            #20

            AFAIK, as soon as you want to run your application on your device, yes but again, it's an Apple constraint and it doesn't have anything to do with the framework your might be using.

            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 7 Apr 2015, 22:16
            0
            • S SGaist
              7 Apr 2015, 22:12

              AFAIK, as soon as you want to run your application on your device, yes but again, it's an Apple constraint and it doesn't have anything to do with the framework your might be using.

              P Offline
              P Offline
              Paul1234
              wrote on 7 Apr 2015, 22:16 last edited by
              #21

              @SGaist

              Ah kk, so the only way to get PyQt would be to subscribe to the apple developers program and then run the same command. Do you know of any work arounds? I just want to have a play and learn some GUI programming with python, not do any actual development.

              1 Reply Last reply
              0
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 7 Apr 2015, 22:25 last edited by
                #22

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

                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 7 Apr 2015, 22:30
                0
                • S SGaist
                  7 Apr 2015, 22:25

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

                  P Offline
                  P Offline
                  Paul1234
                  wrote on 7 Apr 2015, 22:30 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
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 7 Apr 2015, 22:38 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 7 Apr 2015, 22:42
                    0
                    • S SGaist
                      7 Apr 2015, 22:38

                      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 7 Apr 2015, 22:42 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
                      • S Offline
                        S Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on 7 Apr 2015, 22:48 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 7 Apr 2015, 22:59
                        0
                        • S SGaist
                          7 Apr 2015, 22:48

                          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 7 Apr 2015, 22:59 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
                          • S Offline
                            S Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on 7 Apr 2015, 23:00 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 7 Apr 2015, 23:12
                            0
                            • S SGaist
                              7 Apr 2015, 23:00

                              It's the clang-64

                              P Offline
                              P Offline
                              Paul1234
                              wrote on 7 Apr 2015, 23:12 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
                              • S Offline
                                S Offline
                                SGaist
                                Lifetime Qt Champion
                                wrote on 7 Apr 2015, 23:16 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 7 Apr 2015, 23:17
                                0
                                • S SGaist
                                  7 Apr 2015, 23:16

                                  Got any error about sip not found ?

                                  P Offline
                                  P Offline
                                  Paul1234
                                  wrote on 7 Apr 2015, 23:17 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
                                  • S Offline
                                    S Offline
                                    SGaist
                                    Lifetime Qt Champion
                                    wrote on 7 Apr 2015, 23:19 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 7 Apr 2015, 23:23
                                    0
                                    • S SGaist
                                      7 Apr 2015, 23:19

                                      Indeed, then check again with --verbose

                                      P Offline
                                      P Offline
                                      Paul1234
                                      wrote on 7 Apr 2015, 23:23 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
                                      • S Offline
                                        S Offline
                                        SGaist
                                        Lifetime Qt Champion
                                        wrote on 7 Apr 2015, 23:24 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 7 Apr 2015, 23:26
                                        0
                                        • S SGaist
                                          7 Apr 2015, 23:24

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

                                          P Offline
                                          P Offline
                                          Paul1234
                                          wrote on 7 Apr 2015, 23:26 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 7 Apr 2015, 23:32
                                          0

                                          25/37

                                          7 Apr 2015, 22:42

                                          • Login

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