[solved] Installation problems with Pyqt - locating old version of qmake
-
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
-
Since you tested with the iOS version before, did you restart from a clean source tree ?
-
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
-
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 :)