QtCreator Plugin Errors
-
Hello there,
i am trying to use QtCreator 4.7 on Manjaro Linux 17.1.11. Unfortunately it doesn't work.
WithQT_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?
-
Hello there,
i am trying to use QtCreator 4.7 on Manjaro Linux 17.1.11. Unfortunately it doesn't work.
WithQT_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?
-
Hi
Also how much ram does your system have and
how big is swap partition ? -
Hi,
Might be a silly question but are you doing that in a docker container ?
-
@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?
-
Wait, do you mean that Qt Creator 4.6 works on your system and in a container bug not Qt Creator 4.7 ?