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 5.5, qt.conf (plugins)
Qt 6.11 is out! See what's new in the release blog

Qt 5.5, qt.conf (plugins)

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.9k 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.
  • mrdebugM Offline
    mrdebugM Offline
    mrdebug
    wrote on last edited by
    #1

    Qt 5.5 seems to not consider the qt.conf file. I obtain the error:

    This application failed to start because it could not find or load the Qt platform plugin "xcb".

    Available platform plugins are: linuxfb, minimal, offscreen, xcb.

    Reinstalling the application may fix this problem.

    The application starts with Qtcreator but not by row command. With Qt 5.4 everything works well.

    Have you got any idea?

    Need programmers to hire?
    www.labcsp.com
    www.denisgottardello.it
    GMT+1
    Skype: mrdebug

    hskoglundH 1 Reply Last reply
    0
    • mrdebugM mrdebug

      Qt 5.5 seems to not consider the qt.conf file. I obtain the error:

      This application failed to start because it could not find or load the Qt platform plugin "xcb".

      Available platform plugins are: linuxfb, minimal, offscreen, xcb.

      Reinstalling the application may fix this problem.

      The application starts with Qtcreator but not by row command. With Qt 5.4 everything works well.

      Have you got any idea?

      hskoglundH Offline
      hskoglundH Offline
      hskoglund
      wrote on last edited by
      #2

      Hi, if you're using a fairly new distro for example Ubuntu Vivid 15.04, then everything is much easier because Qt 5.4 is included. But not 5.5 yet. So that could be one reason.

      And for sure Qt 5.5 treats the qt.conf file same as before, otherwise your Qt Creator wouldn't start (for a sucessful launch on Linux a qt.conf needs to present).

      1 Reply Last reply
      0
      • mrdebugM Offline
        mrdebugM Offline
        mrdebug
        wrote on last edited by
        #3

        Solved. This hard link

        unix:!mac {
        LIBS += -Wl,-rpath=\$$ORIGIN/libs
        }
        and qt.conf file
        [Paths]
        Plugins=plugins
        Libraries=libs

        Are considered correctly by a Qt console program but not by a Qt gui program. To resolve I had to add a link called lib (not libs) to my libs folder, immediately outside of my plugins folder.

        This is necessary with Qt 5.5 but not with Qt 5.4

        Need programmers to hire?
        www.labcsp.com
        www.denisgottardello.it
        GMT+1
        Skype: mrdebug

        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