Qt5 reference documentation: qch files - qt

I want to view Qt reference documentation inside QtAssistant, but the installation of Qt5 did not come with .qch documentation files for Qt libraries.
I have tried to find them on the http://qt-project.org but could not find them anywhere.
How do I get the Qt5 documentation files ?
I am using Ubuntu 12.10, I have installed the new qt-library sdk from the qt-project website.

Open Assistant (5.0.1/gcc/bin/assistant) and then go to Edit -> Preferences menu.
There's a Documentation tab. If the list is empty, add the .qch files found in the 5.0.1/gcc/doc/ directory.
This is how it looks. This is Ubuntu 12.10 as well.
Qt 5.0.1 installed with the qt-linux-opensource-5.0.1-x86-offline.run package (388Mb).

Yes, the official Ubuntu-documentation for Qt5 is very incomplete. You don't have information about nearly any class.
If you want to use the QtCreator/QtAssistant build from Ubuntu you have to acquire the docs yourself. I did and uploaded these on my personal Mega-account. Here are the docs. I installed the Qt framework with the installer from qt-project.org, grabbed the documentation and inserted it into the software-center-version.
I don't use QtAssistant as a stand-alone program but integrated in QtCreator. To add the docs to QtCreator go to Tools>Options>Help>Documentation and click add. Then select all .qch files, click apply and enjoy. Maybe try the way as mentioned above.

After all, you can just download the necessary *.deb file from the store of the Ubuntu packages, and install it on your system. As they wrote here, this package will install the *.qch files in /usr/share/qt5/doc. The pitfall is that you will have to remember that you have done that, since your Ubuntu will not take any records for you.

Related

Empty content in Qt Assistant

I installed Qt 5.12.0 on macOS Catalina 10.15.6, but my Qt Assistant is empty. I googled and it turns out I may need to download the .qch manually. Since I searched .qch in finder, no results. However, I couldn't find the corresponding source according to the keyword qt assistant qch5.12.0 download
Are you using the Qt online installer to install Qt? If yes, you should find .qch files in $QTDIR/Docs/Qt-5.12.0 (where QTDIR is the directory Qt is installed to, so e.g. ~/Qt.

How to create custom installer for Adobe Brackets

I want to build my installer of the Adobe Brackets source code. Can someone help me with that?
If you're looking to generate the Windows MSI installer for Brackets (like the ones available at http://download.brackets.io), check out the installer README.MD documentation. As a prerequisite, make sure you are able to build the brackets-shell binaries first.

No qmlviewer installed

I've installed Qt SDK 5.0.0 beta 2 and Qt Creator 2.6.0. It detects the package but gives a warning that "No qmlviewer installed". I've looked for it and it is in the SDK bin folder. What can I do? I use ubuntu 12.04 and I've added the SDK binaries to the PATH. I can view the QML files through the terminal.
It is not a solution but maybe it will be helpful.
I can see this warning too, but I think it is not a big problem. I have started to move my existing Quick1 code to new Qt version and I have not seen Qt5 Kit in the drop down list. But when I have created new Quick2 application I found it. And everything seems to work without QMLviewer.
Btw, I found forum post about Qt5 and qmlveiwer. Guy says that it was very difficult to support viewer in the actual state because API of declarative modules are changing very quickly. So they have dropped qmlviewer from Qt5.

QT installation on Mac

want to know if it is adviseable to install the Qt SDK in the Developer/SDKs folder. I wanted to put it in there but I get the following warning:
You have selected an existing, non-empty folder for installation.
Note that it will be completely wiped on uninstallation of this application.
It is not advisable to install into this folder as installation might fail.
Do you want to continue?
Where is the best place to put it. I had QT SDK installed earlier, but while compiling some examples he couldnt find the header files. The installation guide from trolltech is a bit confusing. Thanks in advance
The reason you are seeing that message from the Qt SDK installer is that it expects you to append a new folder name to the path. The default installation location for the Qt SDK is
~/QtSDK
If you wanted to place it in Developer/SDKs, you should enter
/Developer/SDKs/QtSDK
The /Developer/SDKs folder is the normal location for Mac OS X SDKs, as used by Xcode and the GNU toolchain. Xcode looks inside subfolders of /Developer/SDKs to populate the list of available SDKs in the Base SDK project setting, so I would avoid placing Qt here and leave that location for Mac system SDKs.

How to install a Qt application on a customers system?

I've got a Qt app that I need installed on a customers computer, which I can't assume has Qt installed on it. I'm on a Mac OSX and the computer I will be installing it on some Unix based system. I will be installing it myself so I don't need a GUI installation wizard or anything like that. Ideally I'd like to end up with a script or makefile, along with a folder of all the sources and necessary libraries, I just don't know where to start. References would be much appreciated, I haven't found anything useful after many google searches.
My question lies somewhere between these two:
Can you create a setup.exe in qt to install your app on a client computer?
Create Linux install for Qt application?
I don't need a full-blown install wizard (question 1), but I also won't have my machine at the installation site to just keep copying libraries until all dependencies are met (question 2). Basically I need to have everything on a CD ready to install when I get there. Thanks in advance.
There are two ways to install a Qt application on a system:
1 - You can compile Qt statically. This will allow you to deploy you app without any qt dependencies.
2 - You need to deploy your app with Qt librairy files you need (like qtcore.dll on Windows)
You will find all explications for each platform in the Qt documentation : http://qt-project.org/doc/qt-4.8/deployment.html.
To create installer you can use InstallJammer for Windows and Unix.
For MacOSX you need to create a dmg image. This is very simple. Read the following web page for help : http://www.wikihow.com/Make-a-DMG-File-on-a-Mac. By using apple script you can customize dmg (like an Application folder link into the dmg).
My preference for Win32 installer is NSIS.
Hope that helps!
Not sure why you want to avoid the install wizard. It can also help you create Uninstaller, desktop and start menu shortcuts, etc. As mentioned in the posts you refer to, you could use BitRock InstallBuilder (Nokia uses it for Qt Creator)
If you do not want to use a wizard and don't want to compile statically, then you can bundle Qt libraries in the same folder as the app and setup a shell script that sets the LD_LIBRARY_PATH to that directory

Resources