Jump to content

Qt Conan package troubleshooting

From Qt Wiki
Revision as of 09:16, 10 February 2022 by Iieklund (talk | contribs) (Created page with "Here you can find causes for commonly encountered issues with Conan * '''*** No rule to make target 'hdb', needed by 'all-local'.''' ** When compiling Qt from sources (qtbase...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Here you can find causes for commonly encountered issues with Conan

  • *** No rule to make target 'hdb', needed by 'all-local'.
    • When compiling Qt from sources (qtbase more specifically) and you have enabled ICU (e.g. qtbase:icu=True in the --profile used) the build recipe of the ICU attempts to read 'TARGET' environment variable and if that happens to contain a value the ICU recipe does not accept it will throw an error:
      errors: logfile attached
      make[1]: *** No rule to make target 'hdb', needed by 'all-local'. Stop.
      make: *** [Makefile:143: all-recursive] Error
      
      ERROR: icu/56.1@qt/everywhere: Error in build() method, line 156
      
    • Fix:
      $ unset TARGET