Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QtCreator Plugin Errors
Forum Updated to NodeBB v4.3 + New Features

QtCreator Plugin Errors

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
9 Posts 4 Posters 2.4k Views 2 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.
  • S Offline
    S Offline
    slaus
    wrote on 22 Jul 2018, 11:05 last edited by
    #1

    Hello there,

    i am trying to use QtCreator 4.7 on Manjaro Linux 17.1.11. Unfortunately it doesn't work.
    With QT_DEBUG_PLUGINS=1 it shows a lot of errors while loading QtCreator:

    \QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/plugins/platforms" ...
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqeglfs.so"
    /usr/lib/qt/plugins/platforms/libqeglfs.so: Cannot allocate memory
    "Out of memory while loading plugin '/usr/lib/qt/plugins/platforms/libqeglfs.so'." 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqlinuxfb.so"
    /usr/lib/qt/plugins/platforms/libqlinuxfb.so: Cannot allocate memory
    "Out of memory while loading plugin '/usr/lib/qt/plugins/platforms/libqlinuxfb.so'." 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqminimal.so"
    /usr/lib/qt/plugins/platforms/libqminimal.so: Cannot allocate memory
    "Out of memory while loading plugin '/usr/lib/qt/plugins/platforms/libqminimal.so'." 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqminimalegl.so"
    /usr/lib/qt/plugins/platforms/libqminimalegl.so: Cannot allocate memory
    "Out of memory while loading plugin '/usr/lib/qt/plugins/platforms/libqminimalegl.so'." 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqoffscreen.so"
    /usr/lib/qt/plugins/platforms/libqoffscreen.so: Cannot allocate memory
    "Out of memory while loading plugin '/usr/lib/qt/plugins/platforms/libqoffscreen.so'." 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqvnc.so"
    /usr/lib/qt/plugins/platforms/libqvnc.so: Cannot allocate memory
    "Out of memory while loading plugin '/usr/lib/qt/plugins/platforms/libqvnc.so'." 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqxcb.so"
    /usr/lib/qt/plugins/platforms/libqxcb.so: Cannot allocate memory
    "Out of memory while loading plugin '/usr/lib/qt/plugins/platforms/libqxcb.so'." 
             not a plugin
    QFactoryLoader::QFactoryLoader() checking directory path "//platforms" ...
    qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
    This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
    
    Aborted (core dumped)
    

    How can I prevent the errors?

    A 1 Reply Last reply 22 Jul 2018, 11:17
    1
    • S slaus
      22 Jul 2018, 11:05

      Hello there,

      i am trying to use QtCreator 4.7 on Manjaro Linux 17.1.11. Unfortunately it doesn't work.
      With QT_DEBUG_PLUGINS=1 it shows a lot of errors while loading QtCreator:

      \QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/plugins/platforms" ...
      QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqeglfs.so"
      /usr/lib/qt/plugins/platforms/libqeglfs.so: Cannot allocate memory
      "Out of memory while loading plugin '/usr/lib/qt/plugins/platforms/libqeglfs.so'." 
               not a plugin
      QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqlinuxfb.so"
      /usr/lib/qt/plugins/platforms/libqlinuxfb.so: Cannot allocate memory
      "Out of memory while loading plugin '/usr/lib/qt/plugins/platforms/libqlinuxfb.so'." 
               not a plugin
      QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqminimal.so"
      /usr/lib/qt/plugins/platforms/libqminimal.so: Cannot allocate memory
      "Out of memory while loading plugin '/usr/lib/qt/plugins/platforms/libqminimal.so'." 
               not a plugin
      QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqminimalegl.so"
      /usr/lib/qt/plugins/platforms/libqminimalegl.so: Cannot allocate memory
      "Out of memory while loading plugin '/usr/lib/qt/plugins/platforms/libqminimalegl.so'." 
               not a plugin
      QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqoffscreen.so"
      /usr/lib/qt/plugins/platforms/libqoffscreen.so: Cannot allocate memory
      "Out of memory while loading plugin '/usr/lib/qt/plugins/platforms/libqoffscreen.so'." 
               not a plugin
      QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqvnc.so"
      /usr/lib/qt/plugins/platforms/libqvnc.so: Cannot allocate memory
      "Out of memory while loading plugin '/usr/lib/qt/plugins/platforms/libqvnc.so'." 
               not a plugin
      QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqxcb.so"
      /usr/lib/qt/plugins/platforms/libqxcb.so: Cannot allocate memory
      "Out of memory while loading plugin '/usr/lib/qt/plugins/platforms/libqxcb.so'." 
               not a plugin
      QFactoryLoader::QFactoryLoader() checking directory path "//platforms" ...
      qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
      This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
      
      Aborted (core dumped)
      

      How can I prevent the errors?

      A Offline
      A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on 22 Jul 2018, 11:17 last edited by
      #2

      Hi @slaus,

      how did you install QtCreator?

      Qt has to stay free or it will die.

      1 Reply Last reply
      1
      • M Offline
        M Offline
        mrjj
        Lifetime Qt Champion
        wrote on 22 Jul 2018, 11:28 last edited by
        #3

        Hi
        Also how much ram does your system have and
        how big is swap partition ?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          slaus
          wrote on 22 Jul 2018, 11:36 last edited by slaus
          #4

          Hi,
          installed it via pacman from the manjaro repositories.

          I have 16 GB of RAM and and 2 GB of swap which are not used.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 22 Jul 2018, 22:30 last edited by
            #5

            Hi,

            Might be a silly question but are you doing that in a docker container ?

            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
            • S Offline
              S Offline
              slaus
              wrote on 23 Jul 2018, 07:50 last edited by
              #6

              Hi,

              @SGaist: No, what would be the differences there? Maybe it can help me.

              M 1 Reply Last reply 23 Jul 2018, 08:01
              0
              • S slaus
                23 Jul 2018, 07:50

                Hi,

                @SGaist: No, what would be the differences there? Maybe it can help me.

                M Offline
                M Offline
                mrjj
                Lifetime Qt Champion
                wrote on 23 Jul 2018, 08:01 last edited by
                #7

                @slaus
                well if running in container/docker it might explain the : Cannot allocate memory
                which seems really odd considering you have 16 GB ram.

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  slaus
                  wrote on 23 Jul 2018, 08:23 last edited by
                  #8

                  @SGaist
                  I like the idea of having my IDE in a docker container :-)

                  I set up a archlinux container with qtcreator and I experience the exact same error.
                  Whether it's a docker container or not, I have enough memory and computing power. What changed in qtcreator 4.7 compared to 4.6 that causes these errors?

                  As far as I know, docker containers have no resource limitation. Is this error common when using QT applications in a docker container?

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 23 Jul 2018, 21:22 last edited by
                    #9

                    Wait, do you mean that Qt Creator 4.6 works on your system and in a container bug not Qt Creator 4.7 ?

                    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

                    4/9

                    22 Jul 2018, 11:36

                    • Login

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