miurahr / aqtinstall

aqt: Another (unofficial) Qt CLI Installer on multi-platforms
https://aqtinstall.readthedocs.io/en/latest/
MIT License
938 stars 87 forks source link

Can't link to any architecture provided for Qt 6.5.0 on Windows #679

Open nrbnlulu opened 1 year ago

nrbnlulu commented 1 year ago

Describe the bug For a few days now I have been trying to run my tests on windows with no success

To Reproduce Clone this repo and follow the instructions in the README.

aqt does not shows any error though the executable won't pass CMake validation with various errors.

Once I installed qt with the official installer everything just woked.

aqt version: aqtinstall = "^3.1.6" OS - Windows 10

ddalcino commented 1 year ago

Please fill out the template, thanks!

nrbnlulu commented 1 year ago

@ddalcino Updated, hope it helps.

miurahr commented 1 year ago

Could you improve a line " subprocess.run" to capture stderr output and save as log file? It also does not check return value. When aqt detect failure, it will return with non-zero.

nrbnlulu commented 1 year ago

@miurahr As I said:

aqt does not shows any error though the executable won't pass CMake validation with various errors.

Though I added that check for you.

miurahr commented 1 year ago

It seems to use a poetry like as poetry run aqt install-qt. aqtinstall does not aware of it. I don't know what happens when calling aqt through poetry.

If anyone can reproduce it and share all log messages, I can investigate it more.

nrbnlulu commented 1 year ago

aqtinstall does not aware of it. wym?

miurahr commented 1 year ago

aqtinstall does not aware of it. wym?

There is no test with it, I don't add any [tool.poetry] section configuraiton in pyproject.toml. I specified setuptools for build system, not poetry in pyproject.toml.

nrbnlulu commented 1 year ago

poetry just uses virtualenv nothing too magicall... Anyways I don't know if it is related to aqt since it compiles without catch2. I will update here as soon as I solve this,

miurahr commented 1 year ago

Any progress? @nrbnlulu

nrbnlulu commented 1 year ago

@miurahr Im currently recruted so not yet...