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. error: Qt5PlatformSupportd.lib: No such file or directory
Forum Updated to NodeBB v4.3 + New Features

error: Qt5PlatformSupportd.lib: No such file or directory

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 783 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.
  • J Offline
    J Offline
    JoanK
    wrote on last edited by
    #1

    Hi everybody!

    I am relative new at Qt.

    I have installed Qt on Ubuntu 14.04, I have configured as I read for the first step. I got run a "hello world" program.

    Time ago, I did a widget program on windows, and now I am trying to run it on Ubuntu, but not work. I am aware that there are some libraries which are different (windows/linux) and I take it into account. The question is, I use:

    LIBS += Qt5PlatformSupportd.lib

    in the .pro file, which it worked, but now I get the following error:
    error: Qt5PlatformSupportd.lib: No such file or directory

    I looked for on internet, but I can't find any comment about it.

    What am I doing wrong? Any ideas please?
    Thank you!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      It's because you are linking to it "Windows style" and to the debug version for that matter. .lib files are either static or import libraries when using Visual Studio.

      The correct way to use it is to add QT += platformsupport-private. Like the name suggests it's a private framework so beware.

      Out of curiosity, why are you link to that library ?

      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

      • Login

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