[Development] Convenience Imports in QML

Alan Alpert 416365416c at gmail.com
Wed Dec 12 22:03:38 CET 2012


On Wed, Dec 12, 2012 at 11:18 AM, Giuseppe D'Angelo <dangelog at gmail.com> wrote:
> On 12 December 2012 18:57, André Pönitz
> <andre.poenitz at mathematik.tu-chemnitz.de> wrote:
>>
>>
>> I actually think it's still to specfic. Upgrading from Qt 5.0 to 5.1
>> would need touching all source files. So
>>
>>    import QtQml from TheQtIUse
>>    import QtQuick from TheQtIUse
>>
>> and some one-liner somewhere that relates "TheQtIUse" with "Qt 5.0",
>> perhaps even through the build system should be even better.
>
> Am I missing something or if we would really like to do that in the
> future, then we should immediately raise a P0 bug against the Qt 5.0
> release and ask for the QML QtWebKit import to be renamed to
> QtWebKit2?

I think you're missing something because I cannot imagine a case where
the QtWebKit import would actually *need* to change its name. But I'm
missing the train of thought that gets you there from where the
discussion was at ;) .

--
Alan Alpert



More information about the Development mailing list