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

    What does which qmake return ?

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

    @SGaist

    //anaconda/bin/qmake

    Thank you so much for your help I have been struggling with this all day and making no progress

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

      What else do you have in that folder ? That's a pretty unusual path

      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

        What else do you have in that folder ? That's a pretty unusual path

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

        @SGaist
        loads of .exe files such as 2to3, activate, binstar, conda etc about 160 of them in total

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

          Then you can either:

          • Remove that Qt 4.7 from your system
          • Rename that folder while you build PyQt
          • Prepend the path to your iOS qmake to PATH before you call PyQt configure script

          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

            Then you can either:

            • Remove that Qt 4.7 from your system
            • Rename that folder while you build PyQt
            • Prepend the path to your iOS qmake to PATH before you call PyQt configure script
            P Offline
            P Offline
            Paul1234
            wrote on last edited by
            #13

            @SGaist

            By the third option do you mean the following:

            python configure.py --qmake=/Users/paulbaranowski1/Qt/5.4/ios/bin/qmake

            because when I do this I get the following output:

            Querying qmake about your Qt installation...
            Determining the details of your Qt installation...
            Error: Failed to determine the detail of your Qt installation. Try again using
            the --verbose flag to see more detail about the problem.

            or is there something else I should be doing?

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

              My bad, I misread the original error message. No, you doing it right. However, call it again with --verbose to see the reason why it fails.

              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

                My bad, I misread the original error message. No, you doing it right. However, call it again with --verbose to see the reason why it fails.

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

                @SGaist

                I get a huge chunk of text which I can copy if you want, but the end message is:

                Check dependencies
                Code Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) matching the team ID “(null)” were found.
                CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.1'

                make[1]: *** [iphoneos-release] Error 65
                make: *** [release-iphoneos] Error 2

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

                    Did you subscribe to Apple's iOS developer program ?

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

                    @SGaist

                    I dont think so, why?

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

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

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

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

                                          • Login

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