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. DWARF error when using QtPDF
Qt 6.11 is out! See what's new in the release blog

DWARF error when using QtPDF

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 1 Posters 2.2k 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.
  • F Offline
    F Offline
    Francis Chapet
    wrote on last edited by
    #1

    Hello,

    I'm using Qt 5.15.2 on Ubuntu 22.04 and I built QtPDF library with the following instructions :
    https://wiki.qt.io/QtPDF_Build_Instructions

    When I want to build the project : https://github.com/Doga-dev/POC_QtPDF_use , I obtain the following error :
    "/usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x23"

    I searched on Internet but I didn't find any usable information to solve my problem.

    Thanks in advance for all help you can given to me.

    Francis.

    F 1 Reply Last reply
    0
    • F Francis Chapet

      Hello,

      I'm using Qt 5.15.2 on Ubuntu 22.04 and I built QtPDF library with the following instructions :
      https://wiki.qt.io/QtPDF_Build_Instructions

      When I want to build the project : https://github.com/Doga-dev/POC_QtPDF_use , I obtain the following error :
      "/usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x23"

      I searched on Internet but I didn't find any usable information to solve my problem.

      Thanks in advance for all help you can given to me.

      Francis.

      F Offline
      F Offline
      Francis Chapet
      wrote on last edited by Francis Chapet
      #2

      I focused on the DWARF error but I forgot to add QtPdf to the Link command in the CMakeList.txt file. Solve this resolves my problem.
      Sorry.

      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