Results 1 to 3 of 3

Thread: Qt Thread Issue with Android(?)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Apr 2011
    Posts
    31
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows Android

    Default Re: Qt Thread Issue with Android(?)

    Hello. I am working on Qt5 app with similar feature - it uses Calendar Content Provider to access events. Please let me know - what was the problem and was it solved?

    By the way - in my apps I met "suddenly asynchronous crashes" when I mixed UI Qt5 C++ code with QML views and Android Java functions. It always were not to be localized by simple code analysis. But I solved problem by manual using signal/slot QQueuedConnection-s between methods accessing to QML, C++ UI and C++ methods accessing Java functions. Direct connection forces receiving slot be executed in same thread as sending signal. Receiver cannot always be ready. But queued connection separates these threads and allows receiver process data when it is ready.
    Last edited by Gourmet; 6th August 2019 at 12:56.

Similar Threads

  1. Embedded resource issue - std::wstring on Windows vs. Android
    By d_stranz in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 15th April 2015, 17:47
  2. Android Issue - webview moving left
    By ejoshva in forum Newbie
    Replies: 3
    Last Post: 10th April 2015, 21:04
  3. Qt/Android: Use QPainter in secondary thread.
    By kiozen in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 27th January 2014, 13:02
  4. Replies: 1
    Last Post: 22nd September 2013, 13:40
  5. Necessitas Qt for Android issue
    By rickrvo in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 8th June 2011, 10:30

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.