Results 1 to 18 of 18

Thread: Qml and Visual studio 2012

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2015
    Posts
    35
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Qml and Visual studio 2012

    Well, I have not started the project yet, I wanted to know in the previous example the avantages of each method

    Currently I am working on GUI with QML. e.g similar example: 2.jpg
    After typing the infos(name, age, ...), you should send the data to the web server via webservices
    So you should make some class and fonctions (Treatment Part with C++/Qt : adding some class in Visual Studio 2012)

    In my case, I assume that the second approach is better : registering a custom type, What's yr opinion ?


    Cheers,
    Last edited by RegMe; 26th December 2015 at 18:02.

  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: Qml and Visual studio 2012

    For that kind of interface I would be using QtWidgets.

    Cheers,
    _

  3. #3
    Join Date
    Dec 2015
    Posts
    35
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Qml and Visual studio 2012

    Yeah, but there will be many interfaces, the previous interface was just an example to show you how the data should be sent via webservices,
    and therefore choose the best approach : setting a context object (rootObject()) or registering a custom type (QmlRegisterType())
    Still waiting yr advice

    Cheers,

  4. #4
    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: Qml and Visual studio 2012

    As I already said: it depends on the individual use case.

    Cheers,
    _

Similar Threads

  1. Qt Creator QT add-in for Visual Studio 2012
    By tesmai4 in forum Qt Tools
    Replies: 0
    Last Post: 29th January 2014, 14:41
  2. Qt 5.1.1 not recognized by Visual Studio Add-in 2012
    By cdarwin in forum Qt Programming
    Replies: 0
    Last Post: 5th June 2013, 12:05
  3. Help regarding QT plugins for Visual studio 2012
    By shah_27 in forum Qt Programming
    Replies: 0
    Last Post: 9th January 2013, 09:42
  4. Build qt 5 with Visual Studio 2012
    By Edder in forum Installation and Deployment
    Replies: 4
    Last Post: 28th December 2012, 10:16
  5. Qt 4.8.3 with Visual Studio 2012 does not compile the webkit
    By dennis81 in forum Installation and Deployment
    Replies: 1
    Last Post: 4th December 2012, 02:25

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.