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. Why does it show me an error when trying to compile in static
Forum Updated to NodeBB v4.3 + New Features

Why does it show me an error when trying to compile in static

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 368 Views 2 Watching
  • 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.
  • L Offline
    L Offline
    lincoln
    wrote on 2 Aug 2023, 21:51 last edited by lincoln 8 Feb 2023, 21:53
    #1

    Hi guys, I've tried to configure my Qt Creator to compile to static, but I get the following error.
    988031d7-24fb-4419-a62f-526703dde29e-image.png

    I have msys2 installed, and that's where I installed the static version of qt from: mingw-w64-qt6-static, it's version 6.5.1.
    I have installed the qt creator 11 here I leave images of my configuration.

    0b019f13-2106-4c77-bc7d-d0c7967b8d22-image.png

    7c1fd99a-22d9-4f9b-a7b8-d5dba9eab8f2-image.png

    And when i use cmake i get this other error
    c5637669-3185-4b9b-8f40-c0847e9e2805-image.png

    Solitary wolf

    J 1 Reply Last reply 3 Aug 2023, 05:22
    0
    • L lincoln
      2 Aug 2023, 21:51

      Hi guys, I've tried to configure my Qt Creator to compile to static, but I get the following error.
      988031d7-24fb-4419-a62f-526703dde29e-image.png

      I have msys2 installed, and that's where I installed the static version of qt from: mingw-w64-qt6-static, it's version 6.5.1.
      I have installed the qt creator 11 here I leave images of my configuration.

      0b019f13-2106-4c77-bc7d-d0c7967b8d22-image.png

      7c1fd99a-22d9-4f9b-a7b8-d5dba9eab8f2-image.png

      And when i use cmake i get this other error
      c5637669-3185-4b9b-8f40-c0847e9e2805-image.png

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 3 Aug 2023, 05:22 last edited by
      #2

      @lincoln said in Why does it show me an error when trying to compile in static:

      I have msys2 installed, and that's where I installed the static version of qt from

      But what compiler do you use to build your app? The one from MSYS or the one from MinGW?

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

      L 1 Reply Last reply 4 Aug 2023, 11:06
      0
      • J jsulm
        3 Aug 2023, 05:22

        @lincoln said in Why does it show me an error when trying to compile in static:

        I have msys2 installed, and that's where I installed the static version of qt from

        But what compiler do you use to build your app? The one from MSYS or the one from MinGW?

        L Offline
        L Offline
        lincoln
        wrote on 4 Aug 2023, 11:06 last edited by
        #3

        @jsulm. I'm using the one from qt

        Solitary wolf

        A 1 Reply Last reply 4 Aug 2023, 15:30
        0
        • L lincoln
          4 Aug 2023, 11:06

          @jsulm. I'm using the one from qt

          A Offline
          A Offline
          Axel Spoerl
          Moderators
          wrote on 4 Aug 2023, 15:30 last edited by
          #4

          @lincoln
          The issue occurs during configure and compilation doesn't even start.
          Could you please post the entire CMakeLists.txt as well as the configure output?

          Software Engineer
          The Qt Company, Oslo

          1 Reply Last reply
          0

          1/4

          2 Aug 2023, 21:51

          • Login

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