Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows wheels are missing rcc.exe #21

Closed
benoit-pierre opened this issue Oct 17, 2021 · 1 comment · Fixed by #22
Closed

Windows wheels are missing rcc.exe #21

benoit-pierre opened this issue Oct 17, 2021 · 1 comment · Fixed by #22

Comments

@benoit-pierre
Copy link
Contributor

The Qt Resource Compiler executable (rcc.exe) is missing from the Windows wheel.

@benoit-pierre
Copy link
Contributor Author

Running python setup.py bdist_wheel locally, it looks like the issue is that since rcc.exe is not a Qt application (according to windeployqt):

Calling:
    Caller: File "[…]\qt-applications\build.py", line 1189, in windeployqt_list_source
    CWD: None
    As passed: ['[…]\\\qt-applications\\build\\qt_applications-q24hqlvl\\qt\\6.1.0\\msvc2019_64\\bin\\windeployqt.exe', '--dry-run', '--list', 'source', '[…]\\\qt-applications\\build\\qt_applications-q24hqlvl\\qt\\6.1.0\\msvc2019_64\\bin\\rcc.exe']
    Full: '[…]\qt-applications\build\qt_applications-q24hqlvl\qt\6.1.0\msvc2019_64\bin\windeployqt.exe' --dry-run --list source '[…]\qt-applications\build\qt_applications-q24hqlvl\qt\6.1.0\msvc2019_64\bin\rcc.exe'
    '[…]\\\qt-applications\\build\\qt_applications-q24hqlvl\\qt\\6.1.0\\msvc2019_64\\bin\\windeployqt.exe'
    '--dry-run'
    '--list'
    'source'
    '[…]\\\qt-applications\\build\\qt_applications-q24hqlvl\\qt\\6.1.0\\msvc2019_64\\bin\\rcc.exe'
[…]\qt-applications\build\qt_applications-q24hqlvl\qt\6.1.0\msvc2019_64\bin\rcc.exe does not seem to be a Qt executable.
failed: […]\qt-applications\build\qt_applications-q24hqlvl\qt\6.1.0\msvc2019_64\bin\rcc.exe
skipping: […]\qt-applications\build\qt_applications-q24hqlvl\qt\6.1.0\msvc2019_64\bin\syncqt.pl

then it gets filtered out.

Note: rcc.exe is not the only executable left-out, the full list (for the Qt version above) is:

  • cmake_automoc_parser.exe
  • licheck.exe
  • moc.exe
  • qmake.exe
  • qmake6.exe
  • rcc.exe
  • tracegen.exe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant