[Development] qt6 qml to c++ compilation

2020-11-04 Thread Damian Ivanov
Hi! I installed qt6 to see what awaits now that Qt 5.15 always includes qml source code, even with quickcompiler https://bugreports.qt.io/browse/QTBUG-88147 I created an example Qt6 application and tried with and without adding CONFIG += qtquickcompiler The output of strings $binary includes the

Re: [Development] QtWayland future

2020-02-28 Thread Damian Ivanov
> > Unfortunately Johan Helsing is leaving The Qt Company. > > > > He has done an amazing work and I want to thank him. > Good news for Johan I suppose but definitely bad news for Qt as one of the brightest minds leaves. Good luck! > ___ Development mai

Re: [Development] QTCS2019 Notes from QtQml session

2019-11-22 Thread Damian Ivanov
out. On Fri, Nov 22, 2019 at 7:14 PM Giuseppe D'Angelo via Development wrote: > > Il 22/11/19 16:49, Damian Ivanov ha scritto: > > I don't see this anywhere documented how this could be done using a > > singleton. > > In 5.14 the solution is something along th

Re: [Development] QTCS2019 Notes from QtQml session

2019-11-22 Thread Damian Ivanov
Additionally https://forum.qt.io/topic/54353/solved-access-qml-singleton-object-from-c-code/4 seems also like a viable solution though a syntax where qmlRegisterSingletonType return value is a QObject would be very ease to read / write. On Fri, Nov 22, 2019 at 6:33 PM Damian Ivanov wrote

Re: [Development] QTCS2019 Notes from QtQml session

2019-11-22 Thread Damian Ivanov
y > would you need such a pattern? > > Why the other way round -- creating a C++ singleton and exposing it to QML -- > doesn't work for you? That should be easier and more transparent. > > Cheers > Dmitriy > > On Fri, Nov 22, 2019 at 4:50 PM Damian Ivanov wr

Re: [Development] QTCS2019 Notes from QtQml session

2019-11-22 Thread Damian Ivanov
How would .qml files that are singletons and instantiated from c++ be used currently I do this and am able to access it from qml and c++ QQmlComponent* component = new QQmlComponent(application_engine, "qrc:/Component.qml"); QObject* obj = component->create(); obj->setParent(this); application_engi

Re: [Development] [Interest] Executing PowerShell command with quotes using QProcess

2014-04-03 Thread Damian Ivanov
one could use "cmd /c echo hello" at least I do so, or this somehow bad? 2014-04-03 12:36 GMT+03:00 Joerg Bornemann : > On 03-Apr-14 02:34, Sze Howe Koh wrote: > >>> Nor on Windows's prompt: >>> C:\>echo """hello""" >>> """hello""" > > Checking arguments with the echo shell built-in on Windows is

Re: [Development] [Interest] Executing PowerShell command with quotes using QProcess

2014-04-02 Thread Damian Ivanov
I'm sorry if this may not help but I wanted to share as it's somewhat related. On Windows systems one can from QProccess access any Windows cmd command. The process should be defined as "cmd /c $mycommand" /k maybe also useful. 2014-04-03 2:34 GMT+02:00 Sze Howe Koh : > On 3 April 2014 06:23, Thia

Re: [Development] [Interest] qmlx11 plugin

2014-02-06 Thread Damian Ivanov
to do so results in x11support.cpp:487: error: no matching function for call to 'X11Support::xEventFilter()' m_instance->xEventFilter(event); What am I doing wrong? Help really appreciated. 2014-02-05 Thiago Macieira : > Em qua 05 fev 2014, às 19:29:37, Damian Ivanov escreveu: &g

Re: [Development] [Interest] qmlx11 plugin

2014-02-06 Thread Damian Ivanov
work... 2014-02-05 Rutledge Shawn : > > On 5 Feb 2014, at 11:16 AM, Damian Ivanov wrote: > >> Hi, >> >> I made a c++ QML plugin for X11 functions like windowlist, active >> window, setting, getting icon of apps, names, id and setting netwm >> properties. Sourc