Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.2k Topics 62.7k Posts
  • Issue getting any QT application with a GUI to play nice with pulseaudio

    Solved
    9
    1 Votes
    9 Posts
    2k Views
    KH-219DesignK
    @rabidmonkeyman said in Issue getting any QT application with a GUI to play nice with pulseaudio: why would QT attempt to use the XDG_RUNTIME_DIR environment variable to try and look up the pulse server? I don't know enough about XDG or pulse to answer that. However, it does seem like the appropriate question to be pondering. It also continues to be fascinating that the non-gui process does it one way, and the gui process does it another way. At this point, it seems like you might try: asking on the mailing list? (i'm not sure if "interest" list or "developer" list would be correct. I lean towards the developer list) filing an issue on https://bugreports.qt.io It's unclear if there is an actual bug, but the fact that a Qt GUI app cannot seem to find the correct PULSE_SERVER (without help from an environment var) seems like a bug given that the non-gui app is succeeding. I would take the non-gui behavior as the "intended/expected behavior", and then by comparison the GUI app behavior seems like a bug. If you do head to the bug-tracker, you might try to see if just adding a line or two to one of the provided sample apps will reproduce the issue. Or... if there exists both a non-gui and a gui example, then maybe all you need to do is launch both examples and the bug reproduces trivially.
  • 0 Votes
    2 Posts
    330 Views
    M
    Self response : supportedViewFinderResolutions is defined on the Camera object, not on the viewfinder. Documentation could perhaps be clearer on this.
  • where is "Threaded Tile Generation" code example available ?

    Solved
    4
    0 Votes
    4 Posts
    401 Views
    JKSHJ
    The Trolltech website is gone, but the Internet Archive has a copy: https://web.archive.org/web/20100129082016/http://labs.trolltech.com/blogs/wp-content/uploads/2010/01/threaded_tile_generation1.cpp The original blog post contains a warning, though: "Don't use this particular algorithm. It is very crude and written to show an idea."
  • xcb plugin error in jetson tx2

    Unsolved
    5
    0 Votes
    5 Posts
    987 Views
    S
    I have tried giving different export Path for QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/aarch64-linux-gnu/qt5/plugins export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/aarch64-linux-gnu/qt5/plugins/platforms. where i find libqxcb.so file.
  • orientation changed in embedded device.

    Unsolved
    9
    0 Votes
    9 Posts
    789 Views
    D
    Dear All, This is working fine with Desktop but in our embedded device web page is opening and functionality working, but web page content display is getting changed that means in web page menus icons are in Grid View but when same web page trying to open in our embedded device, menu icons are showing in colum view. Please suggest me Why like that, what we should have to implement so that it will display same as Grid view in our device.
  • Do not see Java class. Why?

    Solved
    3
    0 Votes
    3 Posts
    488 Views
    B
    @raven-worx Solution found there was troubles with class location. It wasn't in ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android/src. Forgotten about src. The example published here https://github.com/ArboreusSystems/arboreus_examples/tree/master/qt/UsingJava
  • Low cost hardware options for learning Qt.

    Unsolved
    2
    0 Votes
    2 Posts
    243 Views
    SGaistS
    Hi and welcome to devnet, Here is a pretty nice list where you may find things that might interest you.
  • could not add wiringPi to Qt after cross compiling

    Solved raspberry pi4 wiringpi cross-compiling
    13
    0 Votes
    13 Posts
    3k Views
    Pablo J. RoginaP
    @amina said in could not add wiringPi to Qt after cross compiling: I just need to synchronize the /usr/include and /usr/lib or all the sysroot? It depends on the changes you do, and if you know exactly what folders were modified. Some people perform the sync for the whole sysroot just in case.
  • Qt on QNX

    Unsolved
    1
    0 Votes
    1 Posts
    375 Views
    No one has replied
  • Qt Lite: License and Obligations

    Solved
    4
    0 Votes
    4 Posts
    434 Views
    SGaistS
    You'll have to check Qt's sources for all the possible features. You can also check https://qtlite.com/
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    18 Views
    No one has replied
  • EGL library doesn't support Emulator extensions Process killed by signal

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    jsulmJ
    @swansorter So, has nothing to do with compilation. The EGL library seems to be incompatible. Search for EGL and emulator extensions to find out what you could do (maybe build a newer EGL library). You could also try the latest Qt5 version.
  • Build a qmake compatible with android kit on qt creator

    Unsolved
    2
    0 Votes
    2 Posts
    372 Views
    sierdzioS
    Use Qt installer, it contains 5.15.2 already compiled for Android. and build it How did you build it? my 5.15.2 qt version is compatible with gcc but not ndk clang why? It most definitely is compatible with clang. You've probably misconfigured Qt or something.
  • Strange problem with MouseArea under Android

    Unsolved
    1
    0 Votes
    1 Posts
    477 Views
    No one has replied
  • 0 Votes
    2 Posts
    1k Views
    J
    I believe I just solved it after sleeping on it lol. I was so close I don't know how I didn't see this before. I followed the assumption that there's an instance discrepancy and I thought that it was caused by the fact that m_instance , a static variable, was changed every time a new BackEnd class was created (which happens very often in my app), because m_instance = this was executed in the BackEnd constructor. So I did some code reorganization: In the header file I moved static BackEnd *m_instance; to become a private variable and declared this public class method Q_INVOKABLE void storeQmlInstance(); In the cpp file I removed this line m_instance = this; from the constructor, so now it looks like this BackEnd::BackEnd(QObject *parent) : QObject(parent) { } Then I implemented the method like this: void BackEnd::storeQmlInstance() { m_instance = this; } Now, most importantly, in the main.qml file I added this line Component.onCompleted: globalBackend.storeQmlInstance();. (globalBackend is the ID of the BackEnd instance defined in the main.qml) Now remember that the method instance() is still a public static method which simply returns m_instance. So now, in my main.cpp when this is executed static void shareTextToQML(JNIEnv *env, jobject thiz, jstring text) { emit BackEnd::instance()->testSignal(env->GetStringUTFChars(text, nullptr)); } It is finally received in the main.qml Connections object, whose target this time is globalBackend because that's where storeQmlInstance() is called from.
  • Embedded-based QT system API usage

    Unsolved
    8
    0 Votes
    8 Posts
    881 Views
    mrjjM
    @QTgiveitome well, ubuntu also offers some automation features. So if you are lucky it is possible to popup the same window. The OS is in itself a big application. I used it for some small automation task so I can't say if its the only way to automate GUI in Linux or someone knows an even better way. It might not be possible to ask it to show whatever comes when you press the " bluetooth button "
  • Android : viewfinder.onResolutionChanged called when camera started

    Unsolved
    1
    0 Votes
    1 Posts
    169 Views
    No one has replied
  • Query regarding Qt DRM Mastership while using EGLFS platform plugin

    Unsolved
    2
    0 Votes
    2 Posts
    277 Views
    SGaistS
    Hi and welcome to devnet, That's an interesting use case. I can't answer to your question sorry. It looks like you would need something like texture sharing. You might want to bring this question to the interest mailing list. You'll find there Qt's developers/maintainers.
  • Could not open DRM (NV) device

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    SGaistS
    Nice ! Thanks for sharing the findings :-)
  • Updated XCode and everything is broken

    Unsolved
    6
    0 Votes
    6 Posts
    873 Views
    K
    @kgregory for the benefit of anyone anyone who is reading this, I went back to Qt 5.12.10 and this "Could not load NIB in bundle" issue went away. I don't have a compelling reason to use 5.15, so I'll just stick with 5.12 for now, but it would be nice to figure out what's going on here.