Results 1 to 2 of 2

Thread: Qml documents is a JavaScript pure too?

  1. #1
    Join Date
    Feb 2017
    Qt products
    Qt5 Qt/Embedded
    Windows Android

    Cool Qml documents is a JavaScript pure too?

    I want to know if I can make a ".qml" file a pure javascript text or the only accepted encoding structure in .qml is that of qmake itself?

    Because I need to edit the project modules on my phone as well, however the only editor / compiler is QML Creator (on my Android) which edits all .qml but does not yet have the option to create purely "js" files. In fact I still have to figure out how to insert the images in the ".qml" via this fantastic app!

  2. #2
    Join Date
    Jan 2006
    Graz, Austria
    Thanked 1,546 Times in 1,496 Posts
    Qt products
    Qt3 Qt4 Qt5
    Unix/X11 Windows

    Default Re: Qml documents is a JavaScript pure too?

    I have no idea what you are asking for.

    The text editor of QtCreator is of course capable of handling "js" files, as those are just text files with a "js" extension.

    I also don't see how qmake is in any way relevant for the contents of a QML file.

    Do display images in QtQuick use the Image element.


Similar Threads

  1. Get the 'My documents' directory or similar
    By qt_developer in forum Qt Programming
    Replies: 2
    Last Post: 24th April 2013, 17:37
  2. Replies: 9
    Last Post: 29th November 2010, 13:12
  3. Creating documents from Qt
    By GrahamLabdon in forum Qt Programming
    Replies: 16
    Last Post: 26th April 2010, 11:00
  4. Can Qt handle pdf documents???
    By webquinty in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 23rd March 2009, 16:16
  5. opengl documents
    By neomax in forum General Discussion
    Replies: 1
    Last Post: 20th November 2006, 08:27

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.