Re: [Interest] How to choose EGLFS Raspberry Pi when cross compiline on Linux?

2015-08-18 Thread Vinicius F
Thiago Macieira thiago.macieira at intel.com writes: Make the config.test/qpa/eglfs-brcm configure-time test program compile. Sorry for silly question, how do I do this config.test? ___ Interest mailing list Interest@qt-project.org

[Interest] QObject: Cannot create children for a parent that is in a different thread.

2015-08-18 Thread Celal SAVUR
Hello everyone, I am keep getting this warning. Although I am not using thread. Do you have any idea? QObject: Cannot create children for a parent that is in a different thread. (Parent is QHeaderView(0x1fee070), parent's thread is QThread(0x81dc70), current thread is QThread(0x7fff88000b00)

Re: [Interest] QObject: Cannot create children for a parent that is in a different thread.

2015-08-18 Thread Thiago Macieira
On Tuesday 18 August 2015 16:33:39 Celal SAVUR wrote: Hello everyone, I am keep getting this warning. Although I am not using thread. Do you have any idea? QObject: Cannot create children for a parent that is in a different thread. I think you are using threads. Please run your

Re: [Interest] How to choose EGLFS Raspberry Pi when cross compiline on Linux?

2015-08-18 Thread Jeff Tranter
On 15-08-18 02:21 PM, Vinicius F wrote: Thiago Macieira thiago.macieira at intel.com writes: Make the config.test/qpa/eglfs-brcm configure-time test program compile. Sorry for silly question, how do I do this config.test? It will be executed when you perform the step of running the configure

Re: [Interest] How to get destructor called in object that was moved to a thread?

2015-08-18 Thread Murphy, Sean
On Monday 17 August 2015 21:34:17 Murphy, Sean wrote: I'm struggling to get my destructor called in a class of mine that is moved to a separate thread You must call it in the thread that the object is associated with. My mainwindow's .cpp file: MainWindow::MainWindow(QWidget *parent)

Re: [Interest] How to get destructor called in object that was moved to a thread?

2015-08-18 Thread Murphy, Sean
Where do you delete mine? I see no delete nor any ownership. Note that unless you move it back you need to delete it from the body of the new thread. If the new thread has a runloop you can also async call the slot mine- deleteLayer(). Yeah, I mistakenly assumed that the moveToThread() call

Re: [Interest] How to get destructor called in object that was moved to a thread?

2015-08-18 Thread Reinhardt Behm
On Wednesday 19 August 2015 02:15:48 Murphy, Sean wrote: Where do you delete mine? I see no delete nor any ownership. Note that unless you move it back you need to delete it from the body of the new thread. If the new thread has a runloop you can also async call the slot mine-

Re: [Interest] How to choose EGLFS Raspberry Pi when cross compiline on Linux?

2015-08-18 Thread Vinicius F
Jeff Tranter jtranter at ics.com writes: On 15-08-18 02:21 PM, Vinicius F wrote: Thiago Macieira thiago.macieira at intel.com writes: Make the config.test/qpa/eglfs-brcm configure-time test program compile. Sorry for silly question, how do I do this config.test? It will be

Re: [Interest] How to choose EGLFS Raspberry Pi when cross compiline on Linux?

2015-08-18 Thread Thiago Macieira
On Tuesday 18 August 2015 18:21:54 Vinicius F wrote: Thiago Macieira thiago.macieira at intel.com writes: Make the config.test/qpa/eglfs-brcm configure-time test program compile. Sorry for silly question, how do I do this config.test? Go into config.test/qpa/eglfs-brcm, qmake and make.

Re: [Interest] QObject: Cannot create children for a parent that is in a different thread.

2015-08-18 Thread Celal SAVUR
Hello Thiago, Actually I just find out that the C function which I am calling in Qt, is creating a thread. I do not have any control over this thread. The library I am using that have callback interface and whenever data available it calls my callback method in Qt. So, in order to solve this

Re: [Interest] QObject: Cannot create children for a parent that is in a different thread.

2015-08-18 Thread Carel Combrink
Greetings, I also had a similar issue once using an external library. My solution was to let the callback emit a signal to a slot in the object using a queued connection, and in the slot I did the actual processing of the data. I buffered the data in the callback before emitting the signal, but

Re: [Interest] unable to compile for iOS simulator

2015-08-18 Thread Jason H
I have no such problem. Make sure your Info.plist is correct, and you set QMAKE_IOS_DEPLOYMENT_TARGET in your .pro: QMAKE_IOS_DEPLOYMENT_TARGET=8.0 Sent: Monday, August 17, 2015 at 9:01 AM From: maitai mai...@virtual-winds.org To: Interest@qt-project.org Subject: [Interest] unable to

Re: [Interest] unable to compile for iOS simulator

2015-08-18 Thread Robert Iakobashvili
Dear Philippe, Only as a guess, check in Xcode Downloads which simulators do your have installed. Delete your Qt-generated project and regenerate it by running only qmake from QtCreator by right-clicking your project and selecting Run qmake. Do not build. Instead, open your Qt-generated project

Re: [Interest] QObject: Cannot create children for a parent that is in a different thread.

2015-08-18 Thread Thiago Macieira
On Tuesday 18 August 2015 14:23:05 Thiago Macieira wrote: On Tuesday 18 August 2015 16:33:39 Celal SAVUR wrote: Hello everyone, I am keep getting this warning. Although I am not using thread. Do you have any idea? QObject: Cannot create children for a parent that is in a different

Re: [Interest] unable to compile for iOS simulator

2015-08-18 Thread maitai
Thanks for your replies, I ended up duplicating the folder '/Applications/Xcode.app//SDKs/iPhoneSimulator8.4.sdk' in '/Applications/Xcode.app//SDKs/iPhoneSimulator8.3.sdk' and that fixed my problem... No time to investigate further anyway. I run simulator from Xcode but I had to