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 to make Static libraries which qmake to use
Qt 6.11 is out! See what's new in the release blog

How to make Static libraries which qmake to use

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 1.1k Views 1 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.
  • Q Offline
    Q Offline
    Qt Enthusiast
    wrote on last edited by Qt Enthusiast
    #1

    I have qt-all-opensource-src-4.3.3 and I am getting following error when I doing a

    If I have make static libraries of libQtCore.a and libQtGui.a then do I have use qmake of qt-4.3.3 version only

    jsulmJ 1 Reply Last reply
    0
    • Q Qt Enthusiast

      I have qt-all-opensource-src-4.3.3 and I am getting following error when I doing a

      If I have make static libraries of libQtCore.a and libQtGui.a then do I have use qmake of qt-4.3.3 version only

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

      @Qt-Enthusiast May I ask why you're using such an ancient Qt version? Last Qt4 is 4.8.7 as far as I know.
      Furthermore you should tell on which Platform you are and which compiler you're using.

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

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        Qt Enthusiast
        wrote on last edited by Qt Enthusiast
        #3

        1 Reply Last reply
        0
        • Q Offline
          Q Offline
          Qt Enthusiast
          wrote on last edited by
          #4

          Can some one can guide me on this

          1 Reply Last reply
          0
          • Q Offline
            Q Offline
            Qt Enthusiast
            wrote on last edited by
            #5

            I made static library for QT

            libQtCore.a

            libQtGui.a

            When I am integrated these libraries in my tool I am getting following errors

            libQtGui.a

            libQtGui.a(qfontdatabase.o): In function _ZL12registerFontPN20QFontDatabasePrivate15ApplicationFontE': qfontdatabase.cpp:(.text+0x3bb8): undefined reference to FcFreeTypeQueryFace'

            hidden symbol `_ZN9QListData7detach2Ev' in libQtCore.a(qlistdata.o) is referenced by DSO
            /usr/bin/ld: final link failed: Nonrepresentable section on output
            collect2: error: ld returned 1 exit status

            Can some one guide me on this how to resolve this issue

            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