Results 1 to 9 of 9

Thread: QtJambi: QTimer can only be used with threads started with QThread

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QtJambi: QTimer can only be used with threads started with QThread

    From what I see you should not subclass QThread but simply use it.

    public QThread(java.lang.Runnable target)

    This constructor takes a runnable object that will be executed as the new thread. As for exec() I don't see a solution in the docs... If you have a Qt commercial licence, I suggest contacting Trolltech Support about it.

  2. The following user says thank you to wysota for this useful post:

    further (27th May 2008)

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.