Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Cross building with printsupport, Qt 5.6.1

Cross building with printsupport, Qt 5.6.1

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 335 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.
  • I Offline
    I Offline
    iwkse
    wrote on last edited by iwkse
    #1

    Hi all,
    I'm cross building an application using the mingw compiler to have binaries for Windows but I have some issue with the Qt printsupport plugin.
    On linux it works fine, I'm building it as static library.

    I am using Qt 5.6.1, below the configure error not being able to find Qt print support, in config.log I get:

    ../plugins/printsupport/libwindowsprintersupport.a(main.o):main.cpp:(.text+0x143): undefined reference to `QPlatformPrinterSupportPlugin::QPlatformPrinterSupportPlugin(QObject*)'
    ../plugins/printsupport/libwindowsprintersupport.a(main.o):main.cpp:(.text+0x28d): undefined reference to `QPlatformPrinterSupportPlugin::qt_metacast(char const*)'
    ../plugins/printsupport/libwindowsprintersupport.a(main.o):main.cpp:(.text+0x2a1): undefined reference to `QPlatformPrinterSupportPlugin::qt_metacall(QMetaObject::Call, int, void**)'
    ../plugins/printsupport/libwindowsprintersupport.a(main.o): bad reloc address 0x0 in section `.pdata'
    

    Any hint for the right direction?

    Cheers

    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