Results 1 to 2 of 2

Thread: Core C++ and QML App

  1. #1
    Join Date
    Feb 2012
    Location
    Warsaw, Poland
    Posts
    37
    Thanks
    3
    Thanked 6 Times in 6 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows Android

    Default Core C++ and QML App

    Hello,
    is it possible to create hybrid: C++ & QML application without any GUI dependency?
    I would like to write a service with some parts of logic written in script language and I prefer QML than QtScript.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Core C++ and QML App

    With Qt5 yes.

    The QML Engine and other related non-UI parts are now in the QQml module.

    In Qt4 both QML and QtQuick (the UI pieces) are part of a single module (QtDeclarative) and do at least have build time dependencies on UI.
    It might be possible to run a QDeclarativeEngine in a QCoreApplication based app, but you'd have to try yourself.

    Cheers,
    _

  3. The following user says thank you to anda_skoa for this useful post:

    west (17th April 2014)

Similar Threads

  1. CPU core information
    By bred in forum Qt Programming
    Replies: 1
    Last Post: 2nd December 2010, 17:17
  2. QT core lib performance?
    By Quentin in forum Qt Programming
    Replies: 1
    Last Post: 31st January 2009, 09:17
  3. core dump
    By DadaLee in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 16th September 2008, 10:05
  4. OpenGL ES, Qt/11 - Qtopia Core?
    By zelko in forum Qt Programming
    Replies: 0
    Last Post: 3rd May 2007, 10:56
  5. app core dumps!!
    By Seema Rao in forum Qt Programming
    Replies: 6
    Last Post: 3rd May 2006, 12:36

Bookmarks

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.