Cross compilation bitcoin win64 on Ubuntu fail because QT5 headers missing #16316

issue NicolasChoukroun opened this issue on June 29, 2019
  1. NicolasChoukroun commented at 6:08 PM on June 29, 2019: none

    Bitcoin 0.18 / Ubuntu 0.18.2 Trying to cross compile on Linux for Windows.

    When I execute configure everything is fine except for QT

    checking QtPlugin usability... no
    checking QtPlugin presence... no
    checking for QtPlugin... no
    configure: WARNING: QtCore headers missing; bitcoin-qt frontend will not be built
    
    

    The wallet cannot be compiled because of missing QT5. I have installed QT5 in many different ways, I have qmake in the path.

    Is there anyone else with this problem? Is there a way to fix it?

  2. NicolasChoukroun commented at 4:53 AM on June 30, 2019: none

    I have found the problem. Depending on the Linux install you chose, you may have QT5 and QT4 already installed

    Doing

    sudo apt autoremove '.*qt5.*-dev'
    sudo apt autoremove '.*qt4.*-dev'
    
    

    then install the depends fixes the problem

  3. MarcoFalke closed this on Jun 30, 2019

  4. janus commented at 9:26 PM on January 27, 2021: none

    I have found the problem. Depending on the Linux install you chose, you may have QT5 and QT4 already installed

    Doing

    sudo apt autoremove '.*qt5.*-dev'
    sudo apt autoremove '.*qt4.*-dev'
    

    then install the depends fixes the problem @NicolasChoukroun Please I am having the same problem. And I tried the commands above , my system could not locate them.

  5. DrahtBot locked this on Aug 18, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 21:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me