Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Qt Installer Framework - Removing the Maintenance Tool

I'm using the Qt Installer Framework (2.0.3) to create an installer my program. Everything works fine, and my program installs perfectly.

However, I'd like to remove (or not install at all) the maintenance tool that is included by default. I have read the documentation and examples, and have searched the web but I haven't found any solutions to this problem. The closest thing I have found is the "MaintenanceToolName" element in the configuration file. I would have also expected an option to prevent the maintenance tool from being installed altogether. It would also be great if I could remove the Licenses folder too.

So in short: Is there a way to remove or prevent the maintenance tool (and its associated files) from being installed?

Thanks!

like image 317
Tsherr Avatar asked Aug 28 '16 20:08

Tsherr


People also ask

Where is Qt maintenance tool Ubuntu?

As of Ubuntu 19.10, it is simply not contained in the Ubuntu repositories. You have basically two options: Download the Qt Online Installer from the Qt website and use that to install a version of Qt for Android. The Qt Maintenance Tool will then be available at /opt/Qt/MaintenanceTool .

What is QT installer framework?

The Qt Installer Framework provides a set of tools and utilities to create installers once, and deploy them across all the supported desktop Qt platforms without rewriting the source code. The installers will have the native look and feel on the platform where they are run: Linux, Microsoft Windows, and macOS.

How do I download QT installer framework?

Using a prebuilt version The current prebuilt release version is available from the downloads page https://download.qt.io/official_releases/qt-installer-framework/ (GPL/LPGL license), or from your Qt Account (commercial license).


1 Answers

No. I have looked through the source code, and although there is a tempting m_needToWriteMaintenanceTool there isn't any way to stop it being written.

like image 170
Timmmm Avatar answered Oct 18 '22 03:10

Timmmm