[Development] Moving itemmodels classes to QtCore
lars.knoll at nokia.com
lars.knoll at nokia.com
Wed Nov 23 23:20:58 CET 2011
On 11/23/11 6:47 PM, "ext Andre Somers" <andre at familiesomers.nl> wrote:
>
>
>
> Op 23-11-2011 14:52, shane.kearns at accenture.com schreef:
>
>
>
>
> Hi,
>
> I think moving the item models back into
> QtGui would be better than QtCore.
> * QML and Widgets applications both depend on
> QtGui
> * The item models have no use outside of a
> GUI application.
> * QtGui was the location of these classes in
> Qt4.
>
>
>
> So, what do you suggest to do with the QSql*Model classes then?
> Should the SQL module depend on QtGui, or should these models also
> move to QtGui, making QtGui dependent on QtSQL?
QtGui is clearly the wrong location. I can only see two options that make
sense *if* we start moving anything: QtCore or a separate library the only
depends on QtCore.
I certainly don't want to make Gui depend on Sql or the other way round.
Cheers,
Lars
More information about the Development
mailing list