[Qt-creator] Qt code models

Fawzi Mohamed fawzi.mohamed at theqtcompany.com
Mon Dec 1 16:33:30 CET 2014


Well yes it is just another file type, but creator treats it differently internally and the paths were not synchronised.
I am working on that, but the other bug should be fixed in the current snapshot.
If you can still reproduce the issue with the latest creator from
http://download.qt-project.org/snapshots/qtcreator/3.3.0-rc1/ <http://download.qt-project.org/snapshots/qtcreator/3.3.0-rc1/>
then it would be good if you can try to find out how I can reproduce it, and open a bug.

Fawzi
> On 01 Dec 2014, at 15:23, Harri Pasanen <harri at mpaja.com> wrote:
> 
> No, I'm not using Qt Quick UI, not intentionally at least.  I'm not very 
> familiar with it.
> 
> Is it anything more than QML files with .ui.qml ending and more locked 
> down editing so that automatic tools can tweak it in an import/export 
> fashion?
> 
> Harri
> 
> On 01/12/2014 14:31, Stenger Christian wrote:
>> Okay... last guess from my site: are you using Qt Quick UI? I can reproduce this issue actually only for Qt Quick UI. Qt Quick Applciation has been fixed some time ago. And I've poked the responsible developer to have a look regarding this..
>> 
>> Kind regards,
>> Christian
>> 
>> 
>> ________________________________________
>> From: Harri Pasanen <harri at mpaja.com>
>> Sent: Monday, December 1, 2014 2:08 PM
>> To: Stenger Christian; qt-creator at qt-project.org
>> Subject: Re: [Qt-creator] Qt code models
>> 
>> I'm not using the Quick Designer.
>> 
>> This seems to be a slippery bugger, it comes and goes.
>> After further trials it seems that my main project is somehow toxic.
>> When I open that, all open projects start to use the QtQuick 1 code model.
>> At that point it does not help if I close my main project.
>> 
>> Harri
>> 
>> 
>> 
>> On 01/12/2014 12:39, Stenger Christian wrote:
>>> Hi again,
>>> 
>>> Just wanted to ask if you're getting this message when opening the project or file or do you get the message on the Quick Designer's site?
>>> 
>>> If the latter one: it might help to go to Tools -> Options -> Qt Quick -> Qt Quick Designer and uncheck the 'Always use the QML emulation layer provided by Qt Creator' (might make a restart of QC necessary)
>>> 
>>> Kind regards,
>>> Christian
>>> 
>>> ________________________________________
>>> From: Harri Pasanen <harri at mpaja.com>
>>> Sent: Monday, December 1, 2014 10:22 AM
>>> To: Stenger Christian; qt-creator at qt-project.org
>>> Subject: Re: [Qt-creator] Qt code models
>>> 
>>> Hmm... now I can't seem to be able to shake the behavior at all.
>>> 
>>> I deleted my .pro.user file, made Desktop 5.4 the default kit,
>>> restarted QC, configured my project to only use the 1 Desktop kit,
>>> and it still insists on QtQuick 1 code model.
>>> 
>>> Something to delete in ~/.config/ ?   (I'm on linux)
>>> 
>>> Harri
>>> 
>>> 
>>> 
>>> On 01/12/2014 07:33, Stenger Christian wrote:
>>>> Hi,
>>>> 
>>>> in general: this is a known issue, but not related to the Qt you're using. This is normally caused by the default kit you're using. Make sure that your default kit is a Qt5 kit. I'm getting this message only if the default kit is set to a Qt4 kit.
>>>> 
>>>> In case this does not solve the issue immediately, close all editors and re-open the editor you'll want to work with. If this still does not work, re-start QC.
>>>> 
>>>> The full issue is normally related to the QmlJS Code Model - so, after changing the default kit, a simple rest of the code model should work as well. As far as I know there's someone already working on it, but hasn't finished the work yet. If you need it, I can find the respective issue in Jira, but it's definitely listed there.
>>>> 
>>>> Hope this helps,
>>>> Christian
>>>> 
>>>> ________________________________________
>>>> From: qt-creator-bounces+christian.stenger=theqtcompany.com at qt-project.org <qt-creator-bounces+christian.stenger=theqtcompany.com at qt-project.org> on behalf of Harri Pasanen <harri at mpaja.com>
>>>> Sent: Friday, November 28, 2014 2:49 PM
>>>> To: qt-creator at qt-project.org
>>>> Subject: [Qt-creator] Qt code models
>>>> 
>>>> In my current testing project I have a self compiled Qt 5.4 Android kit
>>>> and Qt 5.4 Desktop from 5.4.0-RC.
>>>> 
>>>> My self compiled Qt seems to have an issue with the code model it offers
>>>> Qt Creator.
>>>> At what point the code model is  built/installed?   So can I fix it
>>>> without a full build?
>>>> 
>>>> My configure line for own Qt android build is:
>>>> 
>>>> ./configure -opensource -confirm-license -xplatform android-g++ -nomake
>>>> tests -nomake examples -android-ndk /home/harri/android-ndk-r10b
>>>> -android-sdk /home/harri/android-sdk-linux -android-ndk-host
>>>> linux-x86_64 -android-toolchain-version 4.8 -android-ndk-platform
>>>> android-16 -skip qttranslations -skip qtwebkit -skip qtserialport -skip
>>>> qtwebkit-examples -skip qtquick1 -skip qt3d -skip qtjsondb -skip
>>>> qtsystems -skip qtfeedback -skip qtpim -skip qtwayland -skip
>>>> qtdocgallery -skip qtenginio -no-warnings-are-errors -prefix
>>>> /home/harri/qt5.4_hp
>>>> 
>>>> There is -skip qtquick1 in the above, yet the message I get when that
>>>> kit is active is
>>>> "Using Qt Quick 1 code mode instead of Qt Quick 2. (M324)"
>>>> 
>>>> Puzzled as usual...
>>>> 
>>>> Harri
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Qt-creator mailing list
>>>> Qt-creator at qt-project.org
>>>> http://lists.qt-project.org/mailman/listinfo/qt-creator
> 
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20141201/8663d9e5/attachment.html>


More information about the Qt-creator mailing list