Иван Комиссаров
2011-09-18 18:36:21 UTC
I asked some people and it appears that nobody exactly knows what will happen with this two gui modules in Qt5.
It is only clear that 2d widgets are moved to separate module.
But what will happen to QtDeclarative? Will it be moved to QtGui instead of current widgets or it will be separate module?
In my opinion, both modules should be separated in Qt5 and be on the same "level" - if people wants to use qml, they use it, if they want to use widgets, they use qtwidgets module. I hope you won't merge QtDeclarative into QtGui, because it will cause a lot of dependencies for those, who still use 2d widgets, as long as QtGui module contains lot of classes that are used both by declarative and qtwidgets - icons, images, desktop services… and they need this features.
I see only one solution - to have three modules - QtDeclarative (contains all qml stuff; depends on v8, gui, network, etc.), "deprecated" QtWidgets (contains old widgets; depends on QtGui) and QtGui (small module; contains all stuff used by both qml and widgets).
Making qml mandatory is good in qt6 as it is really great techonology, but now it still has very poor codebase (basic components are not finished; not properly tested; almost no custom components in web)
Ivan.
It is only clear that 2d widgets are moved to separate module.
But what will happen to QtDeclarative? Will it be moved to QtGui instead of current widgets or it will be separate module?
In my opinion, both modules should be separated in Qt5 and be on the same "level" - if people wants to use qml, they use it, if they want to use widgets, they use qtwidgets module. I hope you won't merge QtDeclarative into QtGui, because it will cause a lot of dependencies for those, who still use 2d widgets, as long as QtGui module contains lot of classes that are used both by declarative and qtwidgets - icons, images, desktop services… and they need this features.
I see only one solution - to have three modules - QtDeclarative (contains all qml stuff; depends on v8, gui, network, etc.), "deprecated" QtWidgets (contains old widgets; depends on QtGui) and QtGui (small module; contains all stuff used by both qml and widgets).
Making qml mandatory is good in qt6 as it is really great techonology, but now it still has very poor codebase (basic components are not finished; not properly tested; almost no custom components in web)
Ivan.