It's possible to configure Qt Quick 4.7.3 / QML Development using Microsoft Visual Studio C++ 2008 Express project.Quick Start
TARGET =
DEPENDPATH += .
INCLUDEPATH += .# Input
SOURCES += YourApp.cppYou need to update this .pro Qt project file when you add source or header files.A simple YourApp.cpp would be: #include <QApplication>
#include <QPushButton> int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QPushButton hello("Hello world");
hello.resize(100, 30); hello.show();
return app.exec();
}You can see how this simple Qt GUI application looks on the screenshot. How to Add Qt Quick / QML SupportTo support QML / Qt Quick, add to .pro file:QT += gui declarativeCreate the .qml file :import QtQuick 1.0 Rectangle { width: 100; height: 100; color: "red" }Then load the .qml file from the main .cpp : #include <QApplication>
#include <QPushButton>
#include <QDeclarativeView>int main(int argc, char *argv[])
{
QApplication app(argc, argv); QDeclarativeView view;
view.setSource(QUrl::fromLocalFile("qmlvs.qml"));
view.show(); return app.exec();
}You can see how this QML / Qt Quick application looks on the screenshot.What about Visual Studio 2010?It's possible but you'll have to download Qt sources and
build using Visual Studio compiler which can take 3 hours or more.Download / Clone Sample Projects from Git RepositoryTo make it easy for you, the sample projects are freely available as Apache Licensed open source projects in my Nokia Developer Projects Git repository: https://projects.developer.nokia.com/qmlexperimentsLearning Resources
- Install Microsoft Visual Studio C++ 2008 (Express)
- Install Qt Library 4.7.x for Visual C++ 2008
- Set environment QTDIR to C:\Qt\4.7.x
- Create a new Makefile project
- For Debug, set the build command as: qmake && nmake
Set the Debug launch command as: debug\YourApp.exe - For Release, set the build command as: qmake && nmake release-all
Set the Release launch command as: release\YourApp.exe - Add a YourApp.cpp file
- Create initial Qt .pro project file by running: qmake -project
TARGET =
DEPENDPATH += .
INCLUDEPATH += .# Input
SOURCES += YourApp.cppYou need to update this .pro Qt project file when you add source or header files.A simple YourApp.cpp would be: #include <QApplication>
#include <QPushButton> int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QPushButton hello("Hello world");
hello.resize(100, 30); hello.show();
return app.exec();
}You can see how this simple Qt GUI application looks on the screenshot. How to Add Qt Quick / QML SupportTo support QML / Qt Quick, add to .pro file:QT += gui declarativeCreate the .qml file :import QtQuick 1.0 Rectangle { width: 100; height: 100; color: "red" }Then load the .qml file from the main .cpp : #include <QApplication>
#include <QPushButton>
#include <QDeclarativeView>int main(int argc, char *argv[])
{
QApplication app(argc, argv); QDeclarativeView view;
view.setSource(QUrl::fromLocalFile("qmlvs.qml"));
view.show(); return app.exec();
}You can see how this QML / Qt Quick application looks on the screenshot.What about Visual Studio 2010?It's possible but you'll have to download Qt sources and
build using Visual Studio compiler which can take 3 hours or more.Download / Clone Sample Projects from Git RepositoryTo make it easy for you, the sample projects are freely available as Apache Licensed open source projects in my Nokia Developer Projects Git repository: https://projects.developer.nokia.com/qmlexperimentsLearning Resources
To get started on Qt GUI / Qt Quick Development on desktop and mobile devices, check out these recommended books:
- C++ GUI Programming with Qt 4 (2nd Edition) - Prentice Hall
- Beginning Nokia Apps Development: Qt and HTML5 for Symbian and MeeGo
- Foundations of Qt Development
- Advanced Qt Programming: Creating Great Software with C++ and Qt 4
That was really a great tutorial i feel.It was really helpful.Thank you !
ReplyDeleteI always find difficult to work with QML development.These days many projects are held with handling this programming.
ReplyDeleteGrt Tutorial For Setup Qt Quick 4.7.3 / QML It's the fantastic example of growing technology.
ReplyDeleteiPhone App Development And iOS App Development
Best SEo Service organization in Bangalore, INDIA. Suppliers of SEO, Search Engine Optimization Online Marketing Services to customers over all business segments. We have possessed the capacity to make our interesting position in Internet Marketing space
ReplyDeleteBest SEO Company in Bangalore|Best SEO Service|Best SEO Company in india
Hi, this blog is really amazing and provide me answers to all my questions .This is really informative and I will for sure refer my friends the same.Web Designing Company Bangalore | Website Design Companies Bangalore
ReplyDeleteVery nice information..Pls visit us:seo-sem
ReplyDeleteThanks for such an interesting Blog here. I was searching for something like that for quite a long time and at last I have found it here. Mobile App Maker in Mumbai || Mobile App Maker Company in Mumbai || App Developers in Mumbai || Mobile App Developers in Mumbai || Mobile App Development Companies in Mumbai || Mobile Application Development Companies in Mumbai
ReplyDeleteYour post is just outstanding! thanx for such a post,its really going great and great work.You have provided great knowledge.
ReplyDeleteWeb Design Bangalore
ReplyDeleteThank you. I just wanted to know where to ship it since I know now to keep producing it
Software Development Company in Chennai
In particular there are instructions on how to build Qt 5 for x64 platform contributed by Vincenzo Mercuri. For best and cheap manual Seo services, Web designings. Must check Web Design Bangalore
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteA very helpful blog for the mobile application developers!
ReplyDeletewebsite designing company in chennai
web design chennai
I just want to say that all the information you have given here is awesome...great and nice blog thanks sharing..Thank you very much for this one.And i hope this will be useful for many people.. and i am waiting for your next post keep on updating these kinds of knowledgeable things.
ReplyDeleteWhatsApp API
Excellent information with unique content and it is very useful to know about the information based on blogs.
ReplyDeleteErp In Chennai
IT Infrastructure Services
ERP software company in India
Mobile Application Development Company in India
ERP in India
Web development company in chennai
You will need to create privacy policies and procedures mentioned in the Privacy rule. After creating them you will need to implement them and train employees on it as needed.
ReplyDeleteProfessional Certification Training HIPAA Security Officer
Promote your ebooks through our eBook Promotion Services. We will help you promote your eBook and help you with marketing it to your potential users.
ReplyDeleteebook promotion services
When you’re looking at the many roofing contractors in Calgary, there are things you want to clarify with them as they examine your roof:
ReplyDeletebest roofing company calgary
Wonderful information,Keep sharing such blogs
ReplyDeleteseo career
Lots of good advice here,let me add here i have learnt about your blog. thanks for mentioning the food delivery app development services.I am just sharing my reviews on Subscription Based Food Delivery app.
ReplyDeleteIf you are looking for the Smartest Ways to Build an App Like Uber then you can read my article I have mentioned the best smart way. I appreciate the work you have put into this.