>> which causes an assertion failure in QCoreApplication::arguments() [2].
>> but if using QApplication without exec() is unsupported, maybe this
>> could be either fixed or removed or declared as unsupported?
>
> exec() is basically a loop around calling processEvents(). The question is
> what t
On sexta-feira, 10 de janeiro de 2014 10:15:23, Tim Blechmann wrote:
> > exec() is basically a loop around calling processEvents(). The question
> > is
> > what the loop control variable is. If you get the control wrong, your
> > application won't exit at the right time.
>
> is there any documen
>> which causes an assertion failure in QCoreApplication::arguments() [2].
>> but if using QApplication without exec() is unsupported, maybe this
>> could be either fixed or removed or declared as unsupported?
>
> exec() is basically a loop around calling processEvents(). The question is
> what t
On quinta-feira, 9 de janeiro de 2014 12:00:09, Tim Blechmann wrote:
> which causes an assertion failure in QCoreApplication::arguments() [2].
> but if using QApplication without exec() is unsupported, maybe this
> could be either fixed or removed or declared as unsupported?
exec() is basically a
>> not sure, if i am doing something completely wrong here.
>> i'm using a QMainWindow with a QQuickView as central widget. the
>> application does not make use of QApplication::exec, but i'm polling the
>> event loop manually from the application.
>
> You're doing something wrong. Use exec().
fw
On 9 January 2014 02:13, Thiago Macieira wrote:
> On quarta-feira, 8 de janeiro de 2014 18:29:06, Tim Blechmann wrote:
>> > If the plugin is not using Qt, there's no threading issue. Qt requires its
>> > GUI to be run from one thread only, but it does not make any requirements
>> > on GUIs written
On quarta-feira, 8 de janeiro de 2014 18:29:06, Tim Blechmann wrote:
> >> i will see what i can do ... what do i need to do in order to run exec()
> >> from a thread other than the main thread? afaict it wants to be called
> >> from the main thread, so simply creating a std::thread to run
> >> qApp
>> i will see what i can do ... what do i need to do in order to run exec()
>> from a thread other than the main thread? afaict it wants to be called
>> from the main thread, so simply creating a std::thread to run
>> qApp->exec() does not work.
>
> Start your thread using non-Qt means and make su
On quarta-feira, 8 de janeiro de 2014 17:44:21, Tim Blechmann wrote:
> i will see what i can do ... what do i need to do in order to run exec()
> from a thread other than the main thread? afaict it wants to be called
> from the main thread, so simply creating a std::thread to run
> qApp->exec() doe
not sure, if i am doing something completely wrong here.
i'm using a QMainWindow with a QQuickView as central widget. the
application does not make use of QApplication::exec, but i'm polling the
event loop manually from the application.
>>>
>>> You're doing something wrong. Use
On Wednesday 08 January 2014, Tim Blechmann wrote:
> > You're doing something wrong. Use exec().
>
> afaict this is not possible when integrating a Qt event loop into the
> event loop of an existing application or when using a Qt from a plugin
> which is simply not allowed to have its own event lo
On quarta-feira, 8 de janeiro de 2014 16:36:16, Tim Blechmann wrote:
> >> not sure, if i am doing something completely wrong here.
> >> i'm using a QMainWindow with a QQuickView as central widget. the
> >> application does not make use of QApplication::exec, but i'm polling the
> >> event loop manu
>> not sure, if i am doing something completely wrong here.
>> i'm using a QMainWindow with a QQuickView as central widget. the
>> application does not make use of QApplication::exec, but i'm polling the
>> event loop manually from the application.
>
> You're doing something wrong. Use exec().
af
On quarta-feira, 8 de janeiro de 2014 15:08:31, Tim Blechmann wrote:
> not sure, if i am doing something completely wrong here.
> i'm using a QMainWindow with a QQuickView as central widget. the
> application does not make use of QApplication::exec, but i'm polling the
> event loop manually from th
hi,
not sure, if i am doing something completely wrong here.
i'm using a QMainWindow with a QQuickView as central widget. the
application does not make use of QApplication::exec, but i'm polling the
event loop manually from the application.
however the application deadlock on exit, when i'm delet
15 matches
Mail list logo