Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.2k Topics 62.6k Posts
  • Sigh, okay, I suck, I need help with Qt for iOS and packaging my framework

    Solved
    3
    0 Votes
    3 Posts
    955 Views
    C
    The good thing is that Qt for iOS is still static, so I don't have to worry about the Qt dependencies, and for the test client - I've simply replaced it with an XCode based test client (I have to wrap the classes I'm exposing in the framework with Objective-C and Objective-C++ anyhow) and doing my unit tests at that level. I suspect that, as you allude to above, the Qt team moves towards the issues of greatest needs first, and I suspect supporting "embedding custom frameworks into iOS apps" via qmake and Qt Creator is possibly on the list - but not at the top ;). I may tinker with qmake later and try to figure out when/where/how I could accomplish this with scripting during the build lifecycle - if I figure it out I'll update here. Marking solved. Thanks :)
  • Qt5.6.3 Build issue with ARM64

    Unsolved qt5.6 qtbase arm64 aarch64 embedded linux
    7
    0 Votes
    7 Posts
    4k Views
    SGaistS
    AFAIK, the BPI is very close to the Raspberry Pi, you should take a look at this wiki entry. By the way, why are you trying to build an outdated version of Qt ? The current LTS is the 5.9 series with 5.12 around the corner.
  • Enabling eglfs for virtual DRM

    Unsolved
    1
    0 Votes
    1 Posts
    498 Views
    No one has replied
  • Build Android Project

    Unsolved
    2
    0 Votes
    2 Posts
    459 Views
    raven-worxR
    @roscoe_x http://doc.qt.io/qt-5/deployment-android.html#resources
  • Uh, wth? I'm building for iOS, I do NOT have the simulator kit configured...

    Unsolved
    1
    0 Votes
    1 Posts
    381 Views
    No one has replied
  • Set orientation on iOS at runtime

    Unsolved
    1
    0 Votes
    1 Posts
    483 Views
    No one has replied
  • how to stop ringtone in qt android

    Solved
    13
    0 Votes
    13 Posts
    2k Views
    G
    @raven-worx i have been going through android api and discovered that getVolume() was introduced in API 28 its not working because i am using API19 thank you very much
  • Qtcreator 4.5.2 Ubuntu 18, Bare metal

    Solved
    5
    0 Votes
    5 Posts
    941 Views
    aha_1980A
    Hi @comarius, glad you found a solution. So please mark this topic as SOLVED with the button "Topic Tools". Thanks!
  • cross compile Qt\raspberry pi3 stretch, OpenGL Error

    Solved
    13
    0 Votes
    13 Posts
    6k Views
    M
    Thanks @Cleiton-Bueno, I just repeat the steps as you mentioned and it worked this way, I was able to configure it, but I am little bit confused till which step should I stop here! https://wiki.qt.io/RaspberryPi2EGLFS, becasue I did everything and at the end It looks like Qt didn't accept my qmake file Attached below is my configuration log file, I hope if you can find the time to have a look on it, I saw some errors inside but I couldn't resolve the issue, I am still beginner for this staff. https://docs.google.com/document/d/1-Dq9tg9sXo4q6dpIeyYbokvNHbS2wL473GuR4GtP3fU/edit?usp=sharing
  • This topic is deleted!

    Unsolved
    5
    0 Votes
    5 Posts
    132 Views
  • how to load html,css and JS file for webView from qrc on android

    Solved webview qml android qrc
    2
    0 Votes
    2 Posts
    2k Views
    jsulmJ
    @noone You will need to extract the content from qrc file to some location writable by your application and then load it from there in webview.
  • Qt fails to create xml file: "No such file or directory"

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    SGaistS
    Hi, What do you get if you try to open a file that actually exists on your hard drive ?
  • ListView kinetic scrolling speed

    Solved
    2
    0 Votes
    2 Posts
    716 Views
    V
    I just found the problem! The property ListView.maximumFlickVelocity is to low for high resolution displays. So I have to adjust it according to screen DPI. Now it works perfectly.
  • 0 Votes
    2 Posts
    742 Views
    Alvaro DenisA
    For a major question(install in my host), use -extprefix and -hostprefix, see more with configure --help or follow this link: https://gist.github.com/arraytools/604e5bc5b0c56c1cfb30#file-qt5-5_configure-L8 For other opinions, I keep the question open.
  • Compile Qt 5.6 for Windows Ce 6.0 linking issue

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    Q
    Found the reason for the problem in somebody else post: link text The reason the linker is looking for wmain, is because the C++ code is referencing __argv[]. __argv[] is the method console apps use to determine the command line arguments. For some reason, just by referencing this variable, the linker wants to start with wmain, which will allow that variable to be filled in. By commenting out the reference to __argv[], the linker no longer is looking for wmain, and starts with WinMain as expected. What a bizarre error, and very difficult to find. This seems to be unique to CE, as this is not the behavior for Win32. I solved it in qcoreapplication.cpp by excluding the code that references __argv #if defined(Q_OS_WIN) && !defined(Q_OS_WINRT) // Check whether the command line arguments match those passed to main() // by comparing to the global __argv/__argc (MS extension). // Deep comparison is required since argv/argc is rebuilt by WinMain for // GUI apps or when using MinGW due to its globbing. static inline bool isArgvModified(int argc, char **argv) { #if (!defined(Q_OS_WINCE) || _WIN32_WCE>0x600) if (__argc != argc || !__argv /* wmain() */) return true; if (__argv == argv) return false; for (int a = 0; a < argc; ++a) { if (argv[a] != __argv[a] && strcmp(argv[a], __argv[a])) return true; } #endif return false; }
  • QLowEnergyService never completes discovery

    Unsolved
    6
    0 Votes
    6 Posts
    960 Views
    sierdzioS
    Thanks for info
  • Xwayland touch for X11 application

    Unsolved
    1
    0 Votes
    1 Posts
    425 Views
    No one has replied
  • This topic is deleted!

    Unsolved
    1
    -1 Votes
    1 Posts
    9 Views
    No one has replied
  • 3 Votes
    3 Posts
    6k Views
    B
    Thanks。 you help me too much。
  • How to compile only arm64 target on iOS

    Unsolved
    5
    1 Votes
    5 Posts
    2k Views
    C
    @SGaist QT9.6. I changed a method, the library linked to the program is also compiled armv7 and arm64. First compile the armv7 and arm64 libraries separately, then merge them with the lipo tool.