qt-installer

Unabled to determine java version when running .bat command from within Qt installer

孤人 提交于 2020-03-03 12:16:10
问题 I would like to detect if java has been installed on a machine, and if so which JRE version. I have a simple .bat file script that runs and queries the registry. This works okay when run alone but when run within the Qt installer the same command returns no key, value pairs. I am a bit stumped. I have tried elevating the installer when executing the command, but frankly the script succeeds when running without privileges from the command, and it also did not make a difference. For instance,

Unabled to determine java version when running .bat command from within Qt installer

拜拜、爱过 提交于 2020-03-03 12:14:05
问题 I would like to detect if java has been installed on a machine, and if so which JRE version. I have a simple .bat file script that runs and queries the registry. This works okay when run alone but when run within the Qt installer the same command returns no key, value pairs. I am a bit stumped. I have tried elevating the installer when executing the command, but frankly the script succeeds when running without privileges from the command, and it also did not make a difference. For instance,

QtIFW Always create registry entry

左心房为你撑大大i 提交于 2020-01-24 12:29:06
问题 I'm currently using the Qt-Installer-Framework to create a setup for my application. Everything works fine for now except one thing: If I install it to any location but C:\Program Files\MyApp , the installer won't create the registry entry for Programs and Features ! Is there a way to tell the installer to always do this? Edit: After trying out vairous different combinations, I do know now where the problem comes from: If I try to install as current user only (set the AllUsers variable to

How to distinguish per-user vs. system-wide installation in QT installer framework?

点点圈 提交于 2020-01-11 13:21:09
问题 I'm using some app called pgModeler and it's current version provides an installer based on QT installer framework. The problem with that installer on Windows is that it installs start menu entries per-user only and registers the app itself per-user only as well. That's a problem for people like me using an explicit admin-user for system maintenance vs. a non-admin user for daily work. The important thing is that really two different user names are used ( Administrator vs. tschoening )

Qt Installer Framework - Create shortcut in Start Menu for all users

依然范特西╮ 提交于 2020-01-03 08:57:14
问题 With the installer framework I would like to create an installer for my application. The application is installed by the administrator on the PC. The application is then used by different users. In the installer I create shortcuts from executable to start menu. This is accomplished in the installscript.js by the command: component.addOperation(“CreateShortcut”, “@TargetDir@/application.exe”, “@StartMenuDir@/Name of Application.lnk”, “workingDirectory=@TargetDir@”); The problem now, is that

Create Linux install for Qt application

二次信任 提交于 2019-12-23 09:28:10
问题 I just made a great program with Qt Creator. I'm very pleased with myself. How do I move it from my desktop to my laptop? So, the best way would be an installer right? And for Ubuntu, that's a debian package right? How do I do that? Has someone done this and could they share the template files for QT 4.5? Thanks, Mike 回答1: If you want to run the application foo you created on the machine desktop on another machine laptop , then simply copy the binary, for example via scp run ldd foo on laptop

QT Installer Framework: Add new wizard page before Introduction page

ぃ、小莉子 提交于 2019-12-13 04:00:05
问题 I want to add new page just before introduction page of QT installer wizard. This page will have image and button. After clicking on button i will ve navigated to introduction page. Can i do that? I tried but it is not showing. However it does show my page if i add it before other pages (e.g: Target Dir ) Can somebody help me here? 回答1: As custom pages can be loaded only when components are loaded. And Introduction page launched before any component could be loaded. So to show your custom

Make a Qt/C++ program show its file types as known on Windows

天大地大妈咪最大 提交于 2019-12-11 17:55:13
问题 Using Qt 5.9 I codded a spreadsheet program and then created an installer for it by Qt Installer Framework (QtIFW2.0.1). Then I sent the program to many of my friends. They installed the app on their Windows machine and now using it, but they have all have a common problem: when they save files of the app, those files are shown as "unknown" files on Desktop. The problem is only with the shape and appearance of the stored files not their functionality, and they are opened by the app if double

How can I make file association in Qt installer(1.5.0)?

牧云@^-^@ 提交于 2019-12-11 13:19:52
问题 How can I make file association in Qt installer framework(1.5.0) on Windows? I want to do this: For example, when I double click myFile.x then my qt desktop application(Windows) will launch and open this file. I want to correct this in installscript.qs : component.addOperation("CreateShortcut", "@TargetDir@/A.exe", "@StartMenuDir@/A.lnk"); component.addOperation("RegisterFileType", "fl", "@TargetDir@\\A.exe" + "'%1'", "myFiles", "text/plain", "@TargetDir@/A_icon.ico", "ProgId=A.fl");

Qt with android 5.9.0 installation erorr

拈花ヽ惹草 提交于 2019-12-11 04:37:41
问题 I am trying to install Qt with android , but i am facing issues while adding AVD, sdk location : D:\android-sdk ndk location : D:\android\android-ndk-r15c-windows-x86_64\android-ndk-r15c creator showing it found 10 tool chains for this ndk ant location : D:\Apache-ant-1.9.6\src\script\ant.bat whenever i try to start avd manager i am getting a pop message like as below AVD manager tool is not available in the installed SDK tools(version 26.0.2). use the command line tool "avdmanager" for