Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Android qt 5.2 strange issues

Android qt 5.2 strange issues

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 828 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.
  • A Offline
    A Offline
    andrea993.93
    wrote on last edited by
    #1

    I'm porting an app that I wrote in qt 4 for symbian to android in qt 5.2

    I've this issue:

    //class GOOFY
    private int _a;
    private slot mySlot();
    private f1();
    private f2();
    ....
    private fn();

    if I use _a in the functions f1(),f2(),..,.fn() I've not problem
    but when I try to to read _a in mySlot() (that is called by a signal emitted in another object) the value of _a is pratically random.

    What is it?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andrea993.93
      wrote on last edited by
      #2

      Maybe I've found the problem....does connect begin synchronous in qt5?

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        What do you mean by synchronous ? Are you using multiple thread ?

        Can you show how you use your code to get that result ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0

        • Login

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