Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-30835

Problem with Qt SDK's that contain only static libraries build with ltcg

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 14.0.0
    • None

    Description

      I have compiled SDK and installed with following commands. (qtlite_host.txt attached)

      ./configure   -extprefix $HOME/Qt/6.8.0_git_lite  -optimize-size -release -reduce-exports -static -ltcg -reduce-exports -gc-binaries -submodules qtbase,qtdeclarative,qtsvg -skip qtlanguageserver,qtquicktimeline  $(cat qtlite_host.txt)  -disable-deprecated-up-to 0x070000 – -DCMAKE_CXX_FLAGS="-march=native"

      cmake --build . -j 16

      make --install .

      But when I try to import SDK it shows error:

      Kits view:

      And CMake fails for opened project. I need to workaround it by adding CMAKE_PREFIX_PATH

       

      This works fine if there's dynamic libraries available.

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            cadam Cristian Adam
            jarihelaakoski Jari Helaakoski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes