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 34.9k 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 Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #4

    Sorry, there was a word missing… I meant the PATH environment variable.

    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

      Sorry, there was a word missing… I meant the PATH environment variable.

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

      @SGaist

      Sorry same question applies, how do I do that?

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

        echo $PATH to see what's inside that variable

        If the bin dir of Qt 4 is in there, then PATH is modified somewhere like in e.g. your .profile file. If not there, then did you install it using macports/homebrew ?

        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

          echo $PATH to see what's inside that variable

          If the bin dir of Qt 4 is in there, then PATH is modified somewhere like in e.g. your .profile file. If not there, then did you install it using macports/homebrew ?

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

          @SGaist

          When I type echo $PATH I get /Library/Frameworks/Python.framework/Versions/2.7/bin://anaconda/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin

          I dont think I installed Qt4 unless it came with anaconda? I installed Qt5 using the installer on their website.

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

            What does which qmake return ?

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

                                          • Login

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