[solved] Installation problems with Pyqt - locating old version of qmake
-
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.
-
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 -
Did you subscribe to Apple's iOS developer program ?
-
Because developing/testing directly on a device requires that subscription, but the emulator not.
-
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.
-
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.
-
Then why iOS and not OS X ? Otherwise, use the simulator
-
Just replace the iOS qmake by the one for OS X and you should be good to go
-
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?
-
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 -
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?
-
It's the clang-64
-
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.
-
Got any error about sip not found ?
-
Indeed, then check again with --verbose
-
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: winextrasthose are all the errors I can find