Help understanding Qt versions, documentation and tools
-
Bottom line up front: I bought a new 4K monitor and now need some way to create keyboard shortcuts to set window locations and sizes on Linux. 3840 pixels wide makes splitting the space half-right or half-left too large, so I need to split 1/3, 2/3 etc. and have not found an app that does that. So I thought I would create something to solve this problem, assuming I can find a GTK or similar API for window management. If Qt is a terrible choice for the job, please let me know. Ironically, solving the problem for Windows was easy with this app. http://www.brianapps.net/sizer/ I don't even need the GUI, just keyboard shortcuts and CLI is fine.
I am interested in the open source licensed Qt for personal use. So I downloaded and installed Qt Creator and Qt Designer on my Linux Mint 18.3 Mate 1.18 workstation. Opened Qt Creator, and get a page not found error for Help, error loading "qthelp://org.qt-project.qtcreator.351/doc/index.html"
So I went to the doc.qt.io in search of documentation, and find:
Online Qt Creator Manual 4.5.1
My Qt Creator 3.5.1, based on Qt 5.5.1
My Qt Designer, using Qt version 4.8.7I used Qt something like 5 to 7 years ago, was able to find the tools and matching documentation, and managed to get something built in amazingly little time. On Windows and Linux, using Python widgets.
But I haven't coded any since then, and would have to look up how to write "hello world". So it is important that I have documentation that will give me a reasonable chance for success. Is there some rule of thumb for matching up documentation and versions? E.g. are 3.5.1, 4.5.1 and 5.5.1 the same product except for licensing? If not, what do you suggest?
Thanks,
Lee
-
Hi and welcome to devnet forum
My advice would be to get the online installer from https://www.qt.io/download and install a new creator ( current version is 4.5.1 ) and a new version of Qt libs (current verison 5.10).
With the online installer you can choose among different Qt lib pre-build versions for different compilers.
-
Hi and welcome to devnet,
To add to @koahnig, you likely installed Qt Creator through your distribution package manager which is older hence the 3.5.1 version.
The online installer provides the latest version of Qt Creator which is 4.5.1.
The Qt version given in the information box of Qt Creator is the one that was used to build Qt Creator, which is useful to know if you implement a plugin for it. Otherwise it has no influence on the Qt versions you may want to use for your development.
Current Qt version is 5.10.1 with 5.11 around the corner.
-
I installed originally from qt.io download, and the file I had downloaded prior matched the current one offered, but something got off track somehow during the signup process within the installation dialog. Not sure what I did and how I ended up with such an old version as a byproduct.
So I uninstalled Qt and Qt Creator, and re-ran the .run file. This time around, since I now have an account at qt.io, I didn't get lost in the registration detour, and was able to install the current versions as recommended. I was happy to find all the useful helps on the Welcome screen and so far the instructional videos match my installed version very well. So I am on my way and thanks to all for your help.