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. Qt static dll x64 using QApplication issues
QtWS25 Last Chance

Qt static dll x64 using QApplication issues

Scheduled Pinned Locked Moved Solved General and Desktop
dllmaindllx64
3 Posts 2 Posters 1.7k 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.
  • 0 Offline
    0 Offline
    0x1337
    wrote on 23 Nov 2015, 10:16 last edited by 0x1337
    #1

    Hi,

    Since some days i want to build a qt static dll using MSVC x64 build statically, the compilation works the dll is around of 9mb but i have this message: http://prntscr.com/95xigj

    It's strange, i never had this message with .exe builds (if i create and build an application she works fine).

    That happen only using QWidgets and QApplication in the dll, if i use some libraries like QString of whatever else it works.

    Thanks.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 23 Nov 2015, 10:52 last edited by
      #2

      Hi and welcome to devnet,

      That's because QWidget and QApplication need the corresponding QPA plugin in order to work (i.e. the platform plugin). QString is part of QtCore which doesn't depend on the platform plugin.

      The static plugin part of the Plugin How To might be of interest.

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • 0 Offline
        0 Offline
        0x1337
        wrote on 23 Nov 2015, 11:08 last edited by
        #3

        Hi,

        Yes that helped me, thanks a lot.

        1 Reply Last reply
        0

        1/3

        23 Nov 2015, 10:16

        • Login

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