Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QT won't link standard libraries to CMake project

QT won't link standard libraries to CMake project

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 341 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cyberklezmer
    wrote on last edited by
    #1

    After upgrading QT to 5.11.2, my CMake projects, once reconfigured to use QT 5.11.2 GCC Kit, stopped linking standard libraries. When builded, they report "undefined reference to stg from std lib. When using CMake alone or the old 5.7.0. kit, everything works fine. Any suggestions?

    jsulmJ 1 Reply Last reply
    0
    • C cyberklezmer

      After upgrading QT to 5.11.2, my CMake projects, once reconfigured to use QT 5.11.2 GCC Kit, stopped linking standard libraries. When builded, they report "undefined reference to stg from std lib. When using CMake alone or the old 5.7.0. kit, everything works fine. Any suggestions?

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @cyberklezmer Did you try to delete the build directory and then rebuild after calling cmake?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved