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. Qt5 wont open on Raspberry Pi3 with Raspbian
QtWS25 Last Chance

Qt5 wont open on Raspberry Pi3 with Raspbian

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt5 raspberry praspberry pi 3
7 Posts 3 Posters 3.7k Views
  • 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.
  • X Offline
    X Offline
    Xenoshell
    wrote on 21 Nov 2017, 08:54 last edited by Xenoshell
    #1

    I cant open Qt Creator on Raspbian. I used the normal raspbian repository to install qt5, should i maybe install it from source? Actually it opens but it just shows the frame of the window and not much more. My errormessage when i open qt creator with terminal is:

    ** (qtcreator:17902): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
    JIT is disabled for QML. Property bindings and animations will be very slow. Visit https://wiki.qt.io/V4 to learn about possible solutions for your platform.
    JIT is disabled for QML. Property bindings and animations will be very slow. Visit https://wiki.qt.io/V4 to learn about possible solutions for your platform.
    JIT is disabled for QML. Property bindings and animations will be very slow. Visit https://wiki.qt.io/V4 to learn about possible solutions for your platform.
    JIT is disabled for QML. Property bindings and animations will be very slow. Visit https://wiki.qt.io/V4 to learn about possible solutions for your platform.
    "Das Kommando \"/qmake\" konnte nicht gestartet werden."
    No tool chain set from kit "Desktop".
    No tool chain set from kit "Desktop".
    No tool chain set from kit "Desktop".
    No tool chain set from kit "Desktop".
    QEGLPlatformContext: eglMakeCurrent failed: 3009
    composeAndFlush: makeCurrent() failed
    QEGLPlatformContext: eglMakeCurrent failed: 3009
    composeAndFlush: makeCurrent() failed
    QEGLPlatformContext: eglMakeCurrent failed: 3009
    composeAndFlush: makeCurrent() failed
    QEGLPlatformContext: eglMakeCurrent failed: 3009
    composeAndFlush: makeCurrent() failed
    QQuickWidget: Attempted to render scene with no context
    

    I cant get much out of this error so i really dont know what to do. Can someone help me?

    J 1 Reply Last reply 21 Nov 2017, 10:32
    0
  • J Offline
    J Offline
    jsulm Lifetime Qt Champion
    replied to Xenoshell on 21 Nov 2017, 10:32 last edited by
    #2

    @Xenoshell This is something already asked many times here.
    Try to start QtCreator with "-noload Welcome" parameter. If it starts then disable Welcome plug-in the plug-in settings.
    You can try "-noload QmlProfiler -noload QuickDesigner" as well if disabling Welcome doesn't help.
    See http://doc.qt.io/qtcreator/creator-faq.html

    https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    1
  • X Offline
    X Offline
    Xenoshell
    wrote on 21 Nov 2017, 11:02 last edited by
    #3

    @jsulm, yeah i saw those threads. Its just that they didnt had a solution for me. Strangely "sudo qtcreator -noload Welcome" doesnt work but "qtcreator -noload Welcome" does. I still get this as error:

    ** (qtcreator:5646): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
    JIT is disabled for QML. Property bindings and animations will be very slow. Visit https://wiki.qt.io/V4 to learn about possible solutions for your platform.
    JIT is disabled for QML. Property bindings and animations will be very slow. Visit https://wiki.qt.io/V4 to learn about possible solutions for your platform.
    JIT is disabled for QML. Property bindings and animations will be very slow. Visit https://wiki.qt.io/V4 to learn about possible solutions for your platform.
    "Das Kommando \"/qmake\" konnte nicht gestartet werden."
    No tool chain set from kit "Desktop".
    No tool chain set from kit "Desktop".
    No tool chain set from kit "Desktop".
    No tool chain set from kit "Desktop".
    

    I just hope it works like that

    J 1 Reply Last reply 21 Nov 2017, 11:05
    0
  • J Offline
    J Offline
    jsulm Lifetime Qt Champion
    replied to Xenoshell on 21 Nov 2017, 11:05 last edited by
    #4

    @Xenoshell Why do you need sudo?!

    https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    1
  • X Offline
    X Offline
    Xenoshell
    wrote on 21 Nov 2017, 11:43 last edited by
    #5

    @jsulm ok maybe you dont need it but sometimes it can help if a command has some special requirements, right? I know that sudo allows the command to do anything it wants to do so it shouldnt be that wrong if I just want to open a program.

    A J 2 Replies Last reply 21 Nov 2017, 11:48
    0
  • A Offline
    A Offline
    aha_1980 Lifetime Qt Champion
    replied to Xenoshell on 21 Nov 2017, 11:48 last edited by
    #6

    @Xenoshell said in Qt5 wont open on Raspberry Pi3 with Raspbian:

    @jsulm ok maybe you dont need it but sometimes it can help if a command has some special requirements, right? I know that sudo allows the command to do anything it wants to do so it shouldnt be that wrong if I just want to open a program.

    If you use sudo like that, you'll get the same security problems as in Windows on your Linux box.

    Further hint: after you started QtCreator with sudo it might have changed the permissions of some configuration files so you might get problems when running again without sudo. For me, these configuration files are in ~/.config/QtProject/

    Qt has to stay free or it will die.

    1 Reply Last reply
    1
  • J Offline
    J Offline
    jsulm Lifetime Qt Champion
    replied to Xenoshell on 21 Nov 2017, 12:11 last edited by
    #7

    @Xenoshell If a command/tool needs root rights it is better to set http://linuxg.net/how-to-set-the-setuid-and-setgid-bit-for-files-in-linux-and-unix/ instead of running whole IDE as root! I never saw a need to run an IDE as root and I'm software developer for quite some time.

    https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    0

5/7

21 Nov 2017, 11:43

topic:navigator.unread, 2
  • Login

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