QtService icon indicating copy to clipboard operation
QtService copied to clipboard

Impossible to build on Ubuntu 16.04

Open Def2010 opened this issue 3 years ago • 1 comments

  1. Cloning sources
  2. qmake && make: ... .../QtService/src/service/service.pro:45: Cannot find feature qdep Project ERROR: Failed to load qdep feature! Run 'qdep prfgen --qmake /usr/lib/x86_64-linux-gnu/qt5/bin/qmake' to create it. ... make: *** [sub-src-make_first] Error 2
  3. qdep prfgen --qmake /usr/lib/x86_64-linux-gnu/qt5/bin/qmake Traceback (most recent call last): File "/usr/local/bin/qdep", line 10, in sys.exit(main()) File "/usr/local/lib/python3.5/dist-packages/qdep/internal/cli.py", line 163, in main prfgen(path.abspath(sys.argv[0]), res.qmake, res.dir) File "/usr/local/lib/python3.5/dist-packages/qdep/qdep.py", line 12, in prfgen qmake_res = sub_run([qmake, "-query", "QT_HOST_DATA"], check=True, stdout=subprocess.PIPE, encoding="UTF-8") File "/usr/local/lib/python3.5/dist-packages/qdep/internal/common.py", line 59, in sub_run return subprocess.run(*args, **kwargs) File "/usr/lib/python3.5/subprocess.py", line 693, in run with Popen(*popenargs, **kwargs) as process: TypeError: init() got an unexpected keyword argument 'encoding'

Def2010 avatar Feb 11 '21 10:02 Def2010

If I remove ', encoding' from python scripts

  1. qdep prfgen --qmake /usr/lib/x86_64-linux-gnu/qt5/bin/qmake Generating PRF-File as: b'/usr/lib/x86_64-linux-gnu/qt5\n'/mkspecs/features/qdep.prf

(no errors or other output, file qdep.prf does not exists) 2. qmake & make ... Cannot find feature qdep Project ERROR: Failed to load qdep feature! Run 'qdep prfgen --qmake /usr/lib/x86_64-linux-gnu/qt5/bin/qmake' to create it.

Def2010 avatar Feb 11 '21 10:02 Def2010