newbie: Qt 5.7 install issues and other problems
-
So I want to put a GUI on top of my software. I figure Qt might be a good way to go. So I download 5.7 on my Mac running 10.11.13 (El Capitan).
Issue #1: Qt 5.7 is installed where I specified, but in the Application tab in finder, Qt is never installed. I need to grab the Qt icon during the install of Qt Creator and drag it to the dock.
Issue #2: Downloaded Qt 4.8 and found that it is incompatible with my version of MacOS, so it seems I am stuck with 5.7.
Issue #3: Looking for a good book on Qt 5. I can't seem to find one. Amazon has a few books but the reviews don't give me any confidence that they would be good teaching tools. There is online documentation. But I have not found any good explanations of how to use the Qt classes/frameworks. Can someone either point me to a link that can get me started or provide the name of a good book on Qt5 that would help me out?
Thanks, Jim
-
Hi and welcome to devnet forum
Did you see this page?
In general you will more books on Qt 4 which is the predecessor of Qt 5. For quite no books had been published on Qt since the differences are not really huge. Therefore, also books on Qt 4 are not completely outdated. In most cases only a few adaptations are required when migrating from Qt 4 to Qt 5.
With your Mac OS question I do not know details since I am a Windows user. However, I do not think that there should be general problem there. From where did you download and install Qt 4.8?
-
Just small note:
Issue #2: Downloaded Qt 4.8 and found that it is incompatible with my version of MacOS
There is always the option to compile the 4.8 version with whatever version of Xcode/compiler you like.
https://forum.qt.io/topic/60173/install-qt-4-8-7-on-a-mac-running-os-x-10-11-el-capitanThey (also) seem to mention
brew install qt4
Which seems to be a packet manager
https://coolestguidesontheplanet.com/installing-homebrew-on-os-x-el-capitan-10-11-package-manager-for-unix-apps/
Not sure it would make it easier. :) -
Hi and welcome to devnet forum
Did you see this page?
In general you will more books on Qt 4 which is the predecessor of Qt 5. For quite no books had been published on Qt since the differences are not really huge. Therefore, also books on Qt 4 are not completely outdated. In most cases only a few adaptations are required when migrating from Qt 4 to Qt 5.
With your Mac OS question I do not know details since I am a Windows user. However, I do not think that there should be general problem there. From where did you download and install Qt 4.8?
-
But, Qt5 did introduce QML, which QT4 does not have. So if I do buy a book on Qt4 I will not get any understanding of QML from the book.
Jim
@jimb
Hi You can get a free start with
QML
https://qmlbook.github.io/
Widgets
http://www.bogotobogo.com/cplusplus/files/c-gui-programming-with-qt-4-2ndedition.pdf