Closed defaultsamson closed 4 years ago
I updated my Python version from 3.5 to 3.8 and that solved it. Weird, and a bit of a headache, but I'm glad it's all over now :)
closing unnecessary issue
Yes, as you probably already found out, qdep requires python 3.8
Sometimes actually reading the doc instead of me thinking I know what I'm doing saves an hour or two :)
Great tool btw!
Thanks!
When I run the command to setup my Qt installation
qdep prfgen --qmake ~/Qt/5.12.6/gcc_64/bin/qmake
I run into this errorI'm using a fresh install of Ubuntu 16.04 with Python 3.5.2, and this doesn't happen on my Ubuntu 18.04 install with Python 3.6.9. When I take the problematic line of code:
https://github.com/Skycoder42/qdep/blob/81e66117fdf389a2ea27292355101c4d63fa7904/qdep/qdep.py#L12
and remove the
encoding=...
part...it works :) I'm not an experienced Python dev, so I'm not sure if there are any negative implications of this quick-fix, but it got it to run just fine with this.
HOWEVER
When I build a project with qdep in QtCreator, I get
Project ERROR: Failed to load qdep feature
, which is an error in my *.pro file. I realized I was silly, and found theqdep.prf
inb'/home/test/Qt/5.12.6/gcc_bin\n'/mkspecs/features/
, and moved it to/home/test/Qt/5.12.6/gcc_bin/mkspecs/features/
as it should be.BUT NOW
I'm getting the following error when I build my project