[Qt-creator] Text editor architecture similar to Chrome browser

André Pönitz apoenitz at t-online.de
Mon Aug 27 11:00:06 CEST 2018


On Mon, Aug 27, 2018 at 07:34:15PM +0200, Szyk Cech wrote:
> Thanks for your kindly reply!
> 
> > > a) Do you have any advice how should I rendering text in separate process and display it in main process (which displays Qt Gui)?
> > Afaik the Qt Quick Designer is doing that (with its “qmlpuppet" separate process), so maybe that can give some inspiration.
> > http://code.qt.io/cgit/qt-creator/qt-creator.git/tree/share/qtcreator/qml/qmlpuppet/qml2puppet
> > 
> This really scared me! "Qt Quick Designer" is definitely the worst part of
> Qt framework family - it works very slow at least on my Core Duo and even it
> is slow on 4 thread able i5 (I used this program in first half of 2017 -
> maybe this changed, but I doubt due to JavaScript nature).

Running things in separate processes is needed at times. E.g. for privilege
separation, for unreliable code, for different versions of a library the
main application uses etc. And it *is* expensive.

I see no reason why a *text editor* would need that kind of encapsulation
for it's day-to-day work.

You were asking  whether it's possible, and whether there's precedence
in Creator. Yes and yes. Does it make sense for a text editor? No.

Andre'



More information about the Qt-creator mailing list