Windows build ignoring --with-qt-libdir #4630

issue ntrgn opened this issue on August 4, 2014
  1. ntrgn commented at 5:17 PM on August 4, 2014: none

    Hi, I was trying to build the latest master, but it fails at "checking for main in -lQt5Core ... no" during configure. v0.9.2.1 worked fine tough.

    As you can see QT_LIBS is missing Qt libraries and plugins directories. config.log: http://pastebin.com/hCBY7NX6

    Readding the following to bitcoin_qt.m4 seems to get it working again

    --- C:/bitcoin-master/src/m4/bitcoin_qt.m4  Mon Aug 04 17:16:12 2014
    +++ C:/bitcoin-master-patched/src/m4/bitcoin_qt.m4  Mon Aug 04 18:40:01 2014
    @@ -357,6 +357,11 @@
       ])
    
       BITCOIN_QT_CHECK([
    +    LIBS=
    +    if test x$qt_lib_path != x; then
    +      LIBS="$LIBS -L$qt_lib_path"
    +    fi
    +
         if test x$TARGET_OS == xwindows; then
           AC_CHECK_LIB([imm32],      [main],, BITCOIN_QT_FAIL(libimm32 not found))
         fi
    
    
  2. theuni commented at 7:42 PM on August 4, 2014: member

    I agree with your fix exactly, thanks for reporting and fixing. Could you please submit this as a pull request?

  3. ntrgn referenced this in commit 831bc57a7e on Aug 4, 2014
  4. laanwj closed this on Aug 5, 2014

  5. reddink referenced this in commit 03709795a9 on May 27, 2020
  6. MarcoFalke locked this on Sep 8, 2021

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-29 03:16 UTC

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