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

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 359 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.
  • lincolnL Offline
    lincolnL Offline
    lincoln
    wrote on last edited by lincoln
    #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

    jsulmJ 1 Reply Last reply
    0
    • lincolnL lincoln

      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

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on 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

      lincolnL 1 Reply Last reply
      0
      • jsulmJ jsulm

        @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?

        lincolnL Offline
        lincolnL Offline
        lincoln
        wrote on last edited by
        #3

        @jsulm. I'm using the one from qt

        Solitary wolf

        Axel SpoerlA 1 Reply Last reply
        0
        • lincolnL lincoln

          @jsulm. I'm using the one from qt

          Axel SpoerlA Offline
          Axel SpoerlA Offline
          Axel Spoerl
          Moderators
          wrote on 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

          • Login

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