November 6, 2010

moo1 moo1
Lab Rat
33 posts

Qmlviewer no longer comes with Qt Creator

 

It seems the latest Qt Creator 2.1 beta no longer include qmlviewer (at least Windows version), as opposed to the previous version did. This means you cannot run QML out-of-box, but need desktop version of 4.7 SDK installed just to get qmlviewer! I’m not sure what’s the reason behind this but it doesn’t make sense at all to me.

Hope qmlviewer will come back in future version of Qt Creator, or, at minimum, please do mention clearly that I need to have 4.7 SDK installed in addition to Qt Creator to do QML development so that I don’t need to waste my time for googling and changing setting to make it work.

10 replies

December 4, 2010

anselmolsm anselmolsm
Ant Farmer
417 posts

Hi moo1,

If you install the standalone version of Qt Creator (separated from the Qt SDK), it is not so strange, as you would use Qt libraries and tools built by yourself or installed from another source.
But, as you said it was true in previous versions, so maybe it was an error.

Did you check if qmlviewer comes with Qt Creator 2.1 beta 2 for Windows?

 Signature 

Anselmo L. S. Melo (anselmolsm)
www.anselmolsm.org

December 4, 2010

xsacha xsacha
Lab Rat
517 posts

If you have Qt for Symbian, you can run the Symbian Command Prompt from your start menu (just to set up PATHs correctly) and run qmlviewer from there. It just won’t expose itself as ‘Run’ in QtCreator.

By the way QtCreator 2.1 RC is the latest.

 Signature 

- Sacha

December 4, 2010

anselmolsm anselmolsm
Ant Farmer
417 posts
xsacha wrote:
By the way QtCreator 2.1 RC is the latest.

Oh, you’re right!

Gosh, I am really late with my feeds and e-mails since I came back from the last trip :-)

 Signature 

Anselmo L. S. Melo (anselmolsm)
www.anselmolsm.org

December 6, 2010

disperso disperso
Lab Rat
183 posts

Creator is not the preferred IDE for everyone. One might want to code QML using a plain text editor, for example, so no, qmlviewer should be shipped with Qt. However, Creator 2.1 has the “design view”, so you can more or less see the result there if it’s something simple (no animations, just layout).

December 11, 2010

moo1 moo1
Lab Rat
33 posts

Okay, after done two projects using QML, I realized I just cannot do all I need with QML and needed native anyway. At the end, I just didn’t use qmlviewer at all for those two projects. I guess this is the reason qmlviewer is somewhat in the half baked situation…

December 11, 2010

disperso disperso
Lab Rat
183 posts

Good point. I also think that there was a thread about deployment, were it was discussed if qmlviewer should be deployed with the app, or came with the system, and the conclussion was that it was expected that most apps would need some C++ anyway.

December 11, 2010

anselmolsm anselmolsm
Ant Farmer
417 posts

disperso, I think you’re talking about this thread [developer.qt.nokia.com], isn’t it? :-)

 Signature 

Anselmo L. S. Melo (anselmolsm)
www.anselmolsm.org

December 12, 2010

disperso disperso
Lab Rat
183 posts

I think it was another one because I haven’t read that one yet. Maybe I’m even confusing it with an email to the list, but anyway, good thread. :)

December 12, 2010

xsacha xsacha
Lab Rat
517 posts
moo1 wrote:
Okay, after done two projects using QML, I realized I just cannot do all I need with QML and needed native anyway.

You can do pretty much everything with QML. I mean you can just register a new type with a C++ backend for anything that is missing. I’m wondering what exactly was the blocker for you?

 Signature 

- Sacha

December 14, 2010

moo1 moo1
Lab Rat
33 posts

@xsacha I did not give up QML. I just gave up qmlviewer. Like you said, I made some glue code to expose some functionalities I needed to QML.

 
  ‹‹ CONFIG += debug_and_release      Question - including .dll into .exe ››

You must log in to post a reply. Not a member yet? Register here!