conda-forge / qt-feedstock

A conda-smithy repository for qt.
BSD 3-Clause "New" or "Revised" License
12 stars 57 forks source link

Problems running a feedstock linked against qt under Windows #162

Closed jeremysanders closed 4 years ago

jeremysanders commented 4 years ago

I'm trying to build veusz-feedstock but it fails when building on Windows. The test which fails is when it tries to run the application. I think it's because something is causing it to link against the wrong Qt DLL. See e.g.

https://github.com/conda-forge/veusz-feedstock/pull/11

If I run setup.py manually under anaconda then it works fine.

I've tried running conda-build manually. It seems to fail because it's linked against a Qt_conda.dll which doesn't seem to exist. If run manually via setup, it gets linked against Qt.dll. Does anyone have any insights into what I'm doing wrong or if there's a bug somewhere in the conda-build or qt-feedstock?

PS: Veusz is a PyQt app which uses SIP to make some additional modules linked against Qt.

isuruf commented 4 years ago

It seems to fail because it's linked against a Qt*_conda.dll which doesn't seem to exist.

This is not true. Those exist in the conda-forge::qt package.

Have you tried running the built executable locally to see if any error message shows up?

jeremysanders commented 4 years ago

Thanks for the help. It was a misidentification as my local build was installed wrongly. I've fixed the problem elsewhere.