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. How do I fix: Error compiling in static in Qt.
Forum Updated to NodeBB v4.3 + New Features

How do I fix: Error compiling in static in Qt.

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 243 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.
  • L Offline
    L Offline
    lincoln
    wrote on 13 Sept 2024, 14:57 last edited by lincoln
    #1

    Hi guys, I have the following problem, I compiled qt 6.2.4, in the static version, I configured it in Qt creator, everything was fine, but when I compile I get this error, I have tried to compile libpng and install it on my system, because I understand that that is what it asks me in the error that appears, and nothing even so I get the error, I am using Qt 6.2.4 on a Windows 11 system, any suggestions on how I can solve this problem, thanks in advance.

    screenshot:

    ab4bb1c2-ec17-4cab-bd06-c32481a5e598-image.png

    83534e25-1bc7-424d-80a1-32f592372402-{4AB0D329-0B94-45BF-A886-F7EB47CA2FBD}.png

    Solitary wolf

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ChrisW67
      wrote on 13 Sept 2024, 20:20 last edited by
      #2

      The first CMake error message is to do with the Freetype library: cannot see any reference to libPNG. Qt can be built to use its own, embedded copy or the system-provide version of these libs. Exactly how did you configure your static Qt6 library build?

      1 Reply Last reply
      0

      1/2

      13 Sept 2024, 14:57

      • Login

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