Welcome mode missing and QtQuick vs QtWidget?
-
wrote on 21 Nov 2014, 15:30 last edited by
Qt Creator 3.2.1
Based on Qt 4.8.6 (GCC 4.8.2, 64 bit)I installed it via the synaptic package manager (uses apt-get) on Ubuntu.
What would I be missing by skipping the "Examples" and going straight to the Qt Widget tutorials?
-
wrote on 21 Nov 2014, 15:30 last edited by
Qt Creator 3.2.1
Based on Qt 4.8.6 (GCC 4.8.2, 64 bit)I installed it via the synaptic package manager (uses apt-get) on Ubuntu.
What would I be missing by skipping the "Examples" and going straight to the Qt Widget tutorials?
-
[quote author="Don Slowik" date="1416583817"]Based on Qt 4.8.6 (GCC 4.8.2, 64 bit)[/quote]Ah, that explains it.
The Welcome screen is written using Qt Quick 2, which is only available with Qt 5.0 or later. Ubuntu built Qt Creator using Qt 4.8, which precludes support for the Welcome screen.
[quote author="Don Slowik" date="1416583817"]What would I be missing by skipping the "Examples" and going straight to the Qt Widget tutorials?[/quote]You'll miss out the ability to launch examples from within the IDE. However, you can still get to them manually so it's no big deal.
Anyway, http://qt-project.org/doc/qtcreator-3.2/index.html teaches you how to use the IDE. You'll probably benefit more from reading a tutorial that teaches you how to develop an application:
- (C++ tutorial) http://qt-project.org/doc/qt-5/gettingstartedqt.html
- (QML tutorial) http://qt-project.org/doc/qt-5/qml-tutorial.html
-
[quote author="Don Slowik" date="1416583817"]Based on Qt 4.8.6 (GCC 4.8.2, 64 bit)[/quote]Ah, that explains it.
The Welcome screen is written using Qt Quick 2, which is only available with Qt 5.0 or later. Ubuntu built Qt Creator using Qt 4.8, which precludes support for the Welcome screen.
[quote author="Don Slowik" date="1416583817"]What would I be missing by skipping the "Examples" and going straight to the Qt Widget tutorials?[/quote]You'll miss out the ability to launch examples from within the IDE. However, you can still get to them manually so it's no big deal.
Anyway, http://qt-project.org/doc/qtcreator-3.2/index.html teaches you how to use the IDE. You'll probably benefit more from reading a tutorial that teaches you how to develop an application:
- (C++ tutorial) http://qt-project.org/doc/qt-5/gettingstartedqt.html
- (QML tutorial) http://qt-project.org/doc/qt-5/qml-tutorial.html
-
wrote on 22 Nov 2014, 14:57 last edited by
[quote author="JKSH" date="1416587896"]
The Welcome screen is written using Qt Quick 2, which is only available with Qt 5.0 or later. Ubuntu built Qt Creator using Qt 4.8, which precludes support for the Welcome screen.[/quote]
That does explain it. That wasn't in the documentation here:
http://qt-project.org/doc/qtcreator-3.2/creator-build-example-application.html[quote author="JKSH" date="1416587896"]
Anyway, http://qt-project.org/doc/qtcreator-3.2/index.html teaches you how to use the IDE. You'll probably benefit more from reading a tutorial that teaches you how to develop an application:- (C++ tutorial) http://qt-project.org/doc/qt-5/gettingstartedqt.html
- (QML tutorial) http://qt-project.org/doc/qt-5/qml-tutorial.html[/quote]
Yes, I'm going through the tutorials. I'm doing:
http://qt-project.org/doc/qtcreator-3.2/creator-writing-program.html
which relates to the Qt Widgets vs. Qt Quick/QML. I thought also I should stick to the 3.2 doc since that's the version I'm running.. -
wrote on 22 Nov 2014, 14:57 last edited by
[quote author="JKSH" date="1416587896"]
The Welcome screen is written using Qt Quick 2, which is only available with Qt 5.0 or later. Ubuntu built Qt Creator using Qt 4.8, which precludes support for the Welcome screen.[/quote]
That does explain it. That wasn't in the documentation here:
http://qt-project.org/doc/qtcreator-3.2/creator-build-example-application.html[quote author="JKSH" date="1416587896"]
Anyway, http://qt-project.org/doc/qtcreator-3.2/index.html teaches you how to use the IDE. You'll probably benefit more from reading a tutorial that teaches you how to develop an application:- (C++ tutorial) http://qt-project.org/doc/qt-5/gettingstartedqt.html
- (QML tutorial) http://qt-project.org/doc/qt-5/qml-tutorial.html[/quote]
Yes, I'm going through the tutorials. I'm doing:
http://qt-project.org/doc/qtcreator-3.2/creator-writing-program.html
which relates to the Qt Widgets vs. Qt Quick/QML. I thought also I should stick to the 3.2 doc since that's the version I'm running.. -
[quote author="Don Slowik" date="1416668260"]
[quote author="JKSH" date="1416587896"]
The Welcome screen is written using Qt Quick 2, which is only available with Qt 5.0 or later. Ubuntu built Qt Creator using Qt 4.8, which precludes support for the Welcome screen.[/quote]
That does explain it. That wasn't in the documentation here:
http://qt-project.org/doc/qtcreator-3.2/creator-build-example-application.html
[/quote]That doesn't belong in the Qt Creator documentation. Qt 4.8 is very old now, and should only be used to maintain legacy applications.What repository did your Synaptic package come from? It doesn't sound like the official Ubuntu-endorsed version.
- Ubuntu 14.10 officially provides Qt Creator 3.1.1 based on Qt 5.3.0
- Ubuntu 14.04 officially provides Qt Creator 3.0.1 based on Qt 5.2.1
[quote author="Don Slowik" date="1416668260"]Yes, I'm going through the tutorials. I'm doing:
http://qt-project.org/doc/qtcreator-3.2/creator-writing-program.html
which relates to the Qt Widgets vs. Qt Quick/QML. I thought also I should stick to the 3.2 doc since that's the version I'm running..[/quote]Note the difference between:- Qt Creator (the IDE), and
- Qt (the library)
Qt (the library) is what you need to create applications.
Qt Creator (the IDE) is a tool that integrates Qt (the library), your text editor, your compiler, etc. -- it makes it easier for you to use Qt (the library) to create applications.
You can use Qt Creator to develop applications using multiple different version of Qt at the same time -- from Qt 4.x to Qt 5.y. Thus, Qt Creator's documentation does not apply to a specific version of Qt.
Also, Qt Creator's documentation doesn't go in-depth into what you can do with Qt. It's not important at the beginning, but once you start using more advanced features in Qt, you should use the documentation for Qt, not Qt Creator.
Anyway, welcome to the world of Qt, and all the best with your project!
-
[quote author="Don Slowik" date="1416668260"]
[quote author="JKSH" date="1416587896"]
The Welcome screen is written using Qt Quick 2, which is only available with Qt 5.0 or later. Ubuntu built Qt Creator using Qt 4.8, which precludes support for the Welcome screen.[/quote]
That does explain it. That wasn't in the documentation here:
http://qt-project.org/doc/qtcreator-3.2/creator-build-example-application.html
[/quote]That doesn't belong in the Qt Creator documentation. Qt 4.8 is very old now, and should only be used to maintain legacy applications.What repository did your Synaptic package come from? It doesn't sound like the official Ubuntu-endorsed version.
- Ubuntu 14.10 officially provides Qt Creator 3.1.1 based on Qt 5.3.0
- Ubuntu 14.04 officially provides Qt Creator 3.0.1 based on Qt 5.2.1
[quote author="Don Slowik" date="1416668260"]Yes, I'm going through the tutorials. I'm doing:
http://qt-project.org/doc/qtcreator-3.2/creator-writing-program.html
which relates to the Qt Widgets vs. Qt Quick/QML. I thought also I should stick to the 3.2 doc since that's the version I'm running..[/quote]Note the difference between:- Qt Creator (the IDE), and
- Qt (the library)
Qt (the library) is what you need to create applications.
Qt Creator (the IDE) is a tool that integrates Qt (the library), your text editor, your compiler, etc. -- it makes it easier for you to use Qt (the library) to create applications.
You can use Qt Creator to develop applications using multiple different version of Qt at the same time -- from Qt 4.x to Qt 5.y. Thus, Qt Creator's documentation does not apply to a specific version of Qt.
Also, Qt Creator's documentation doesn't go in-depth into what you can do with Qt. It's not important at the beginning, but once you start using more advanced features in Qt, you should use the documentation for Qt, not Qt Creator.
Anyway, welcome to the world of Qt, and all the best with your project!
-
wrote on 23 Nov 2014, 16:53 last edited by
Right, I added a 'ppa' to my repositories while I was using Ubuntu 12.04 in order to get QtCreator. Then I upgraded to 14.04, and still have that 'ppa' repository where my Qt stuff comes from. Deselecting that repository, Synaptic still tells me that my system is up to date with version 3.2.1 , apparently paired up with Qt 4.8.6 via that ppa repository.
It's fine with me for now.
thanks for your help. -
wrote on 23 Nov 2014, 16:53 last edited by
Right, I added a 'ppa' to my repositories while I was using Ubuntu 12.04 in order to get QtCreator. Then I upgraded to 14.04, and still have that 'ppa' repository where my Qt stuff comes from. Deselecting that repository, Synaptic still tells me that my system is up to date with version 3.2.1 , apparently paired up with Qt 4.8.6 via that ppa repository.
It's fine with me for now.
thanks for your help.
15/15