error: Qt5PlatformSupportd.lib: No such file or directory



  • 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!


  • Lifetime Qt Champion

    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 ?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.