Re: [Interest] Qt Updater/ Licenses

2020-04-21 Thread Tino Pyssysalo
On 22.4.2020, 5.53, "Interest on behalf of Jason H" 
 wrote:

   >  I have two accounts one for work which is paid commercial and my own 
hobby usage on my own laptop.
   > I understand that Qt now requires a sign in, but I was surprised to be 
denied on my own laptop.
   > 
   > What do I need to do to use Qt under the open source licenses?

The screen shot shows that the used account has one or more commercial 
licenses, but none of them is valid? Did
you use your hobby account? Is the hobby account an open-source account, i.e. 
no licenses associated? You
can check this in Qt Account itself as shown in the attached screenshot. There 
is no "Licenses" button on the sidebar. 

If your hobby account is not an open-source account, you can create a new one 
by using sign-up. 

If your hobby account is an open-source account and you get the error message 
you showed, you have found a bug. 
--
Tino Pyssysalo
Product Management
The Qt Company

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


[Interest] Qt Updater/ Licenses

2020-04-21 Thread Jason H
I have two accounts one for work which is paid commercial and my own hobby 
usage on my own laptop.
I understand that Qt now requires a sign in, but I was surprised to be denied 
on my own laptop.

What do I need to do to use Qt under the open source licenses?___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Crash when signal fires

2020-04-21 Thread Ben Haller via Interest
> On Apr 21, 2020, at 7:51 PM, Giuseppe D'Angelo via Interest 
>  wrote:
> 
> On 4/22/20 1:44 AM, Ben Haller via Interest wrote:
>> Hi folks.  I’m seeing something weird that I don’t understand.  I have a 
>> connection defined for the main window of my Qt Widgets app, like so:
>> connect(qApp, ::focusChanged, [this]() { 
>> updateUIEnabling(); });
>> I’m seeing a 100% reproducible crash as a result of this.  When the 
>> focusChanged signal fires, I end up in updateUIEnabling() as expected, but I 
>> immediately crash because something about the state of things is corrupted; 
>> the immediate symptom, according to the debugger, is that the ui pointer for 
>> my main window is equal to 0x1 (yuck).  I try to access a button,  
>> ui->playOneStepButton, and it crashes.  As I said, 100% reproducible.
>> The weird thing is that this does*not*  happen if I change the connect 
>> statement to this:
>> connect(qApp, ::focusChanged, this, 
>> ::updateUIEnabling);
>> Now, 100% of the time, there is no problem, no crash, and my app chugs along 
>> happily.  No other code changes involved.  I can literally flip this connect 
>> definition back and forth in my code and go from 100% crashing to 100% fine.
> 
> A quick checklist:
> 
> 0) I hope threads are not involved (you're not really allowed to do any GUI 
> work from any other thread).

  No threads.

> 1) Never use the 3-arguments connect(). If you want to use the lambda, pass 
> "this" as 3rd parameter and lambda as fourth. Why: if "this" has been 
> destroyed, the first version won't disconnect automatically and crash. The 
> second will disconnect and not crash.
> 
> More info: https://stackoverflow.com/a/27954502

  Ah, I see!  I was assuming it was my first window’s focusChanged connection 
that was crashing, but it was probably the second (closed) window’s connection 
that was crashing, in fact, because the window was gone but the connection 
remained.

> 2) ASAN, Valgrind and friends will help you locate the source of the crash if 
> it's due to memory corruption. Use them.

  Unfortunately, I’m on macOS 10.15.3 and Valgrind is not there yet (I think at 
present they have “preliminary” support for macOS 10.13).

  I suspect this is a really dumb question, but what is “ASAN”?  Is that 
another Valgrind-like tool?

  Well, in any case, I think you have explained my bug.  Thanks very much!

Cheers,
-B.

Benjamin C. Haller
Messer Lab
Cornell University

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Crash when signal fires

2020-04-21 Thread Giuseppe D'Angelo via Interest

On 4/22/20 1:44 AM, Ben Haller via Interest wrote:

Hi folks.  I’m seeing something weird that I don’t understand.  I have a 
connection defined for the main window of my Qt Widgets app, like so:

 connect(qApp, ::focusChanged, [this]() { updateUIEnabling(); 
});

I’m seeing a 100% reproducible crash as a result of this.  When the focusChanged 
signal fires, I end up in updateUIEnabling() as expected, but I immediately crash 
because something about the state of things is corrupted; the immediate symptom, 
according to the debugger, is that the ui pointer for my main window is equal to 
0x1 (yuck).  I try to access a button,  ui->playOneStepButton, and it crashes.  
As I said, 100% reproducible.

The weird thing is that this does*not*  happen if I change the connect 
statement to this:

 connect(qApp, ::focusChanged, this, 
::updateUIEnabling);

Now, 100% of the time, there is no problem, no crash, and my app chugs along 
happily.  No other code changes involved.  I can literally flip this connect 
definition back and forth in my code and go from 100% crashing to 100% fine.


A quick checklist:

0) I hope threads are not involved (you're not really allowed to do any 
GUI work from any other thread).


1) Never use the 3-arguments connect(). If you want to use the lambda, 
pass "this" as 3rd parameter and lambda as fourth. Why: if "this" has 
been destroyed, the first version won't disconnect automatically and 
crash. The second will disconnect and not crash.


More info: https://stackoverflow.com/a/27954502

2) ASAN, Valgrind and friends will help you locate the source of the 
crash if it's due to memory corruption. Use them.


HTH,
--
Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts



smime.p7s
Description: S/MIME Cryptographic Signature
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


[Interest] Crash when signal fires

2020-04-21 Thread Ben Haller via Interest
[ I realized I ought to supply the crash backtrace; I have appended it below my 
signature. ]

Hi folks.  I’m seeing something weird that I don’t understand.  I have a 
connection defined for the main window of my Qt Widgets app, like so:

   connect(qApp, ::focusChanged, [this]() { updateUIEnabling(); });

I’m seeing a 100% reproducible crash as a result of this.  When the 
focusChanged signal fires, I end up in updateUIEnabling() as expected, but I 
immediately crash because something about the state of things is corrupted; the 
immediate symptom, according to the debugger, is that the ui pointer for my 
main window is equal to 0x1 (yuck).  I try to access a button,  
ui->playOneStepButton, and it crashes.  As I said, 100% reproducible.

The weird thing is that this does *not* happen if I change the connect 
statement to this:

   connect(qApp, ::focusChanged, this, 
::updateUIEnabling);

Now, 100% of the time, there is no problem, no crash, and my app chugs along 
happily.  No other code changes involved.  I can literally flip this connect 
definition back and forth in my code and go from 100% crashing to 100% fine.

I’m pretty new to Qt and maybe I’m just being clueless somehow; but I thought 
that the two definitions above would be essentially identical in their effect.  
Why does the first one crash?  Note that it works fine in general; it seems to 
crash specifically when I open a *second* main window (which makes its own 
connection to focusChanged in the same way), and then close that second main 
window.  Now the first main window’s connection is somehow unhappy, and the 
next time I trigger the focusChanged() signal, boom.  It’s as if the connection 
for the second window somehow interferes with the connection for the first 
window, and closing the second window leads to a corruption in the connection 
state.

Naturally, I am now nervous about using the first type of connection anywhere 
in my code, since I don’t understand what the issue is.  Can anyone shed light 
on this?

Cheers,
-B.

Benjamin C. Haller
Messer Lab
Cornell University


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.sticksoftware.QtSLiM0x0001003c84b1 
QtSLiMWindow::updateUIEnabling() + 17 (QtSLiMWindow.cpp:1589)
1   com.sticksoftware.QtSLiM0x0001003d224e 
QtPrivate::FunctorCall, QtPrivate::List<>, void, 
QtSLiMWindow::init()::$_3>::call(QtSLiMWindow::init()::$_3&, void**) + 14 
(qobjectdefs_impl.h:146)
2   org.qt-project.QtCore   0x00010228ca95 void 
doActivate(QObject*, int, void**) + 1157 (memory:2597)
3   org.qt-project.QtWidgets0x0001013d67de 
QApplicationPrivate::setFocusWidget(QWidget*, Qt::FocusReason) + 510
4   org.qt-project.QtWidgets0x00010140f6fd 
QWidget::setFocus(Qt::FocusReason) + 637 (qwidget.cpp:6356)
5   org.qt-project.QtWidgets0x0001013d7dd8 
QApplication::setActiveWindow(QWidget*) + 1160
6   org.qt-project.QtWidgets0x0001013d8333 
QApplicationPrivate::notifyActiveWindowChange(QWindow*) + 51 
(qapplication.cpp:2101)
7   org.qt-project.QtGui0x000101a35623 
QGuiApplicationPrivate::processActivatedEvent(QWindowSystemInterfacePrivate::ActivatedWindowEvent*)
 + 675 (qguiapplication.cpp:2438)
8   org.qt-project.QtGui0x000101a12cc3 bool 
QWindowSystemInterfacePrivate::handleWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
 + 115 (qwindowsysteminterface.cpp:106)
9   libqcocoa.dylib 0x0001063511ee 
QCocoaWindow::windowDidBecomeKey() + 238 (qcocoawindow.mm:1194)
10  org.qt-project.QtCore   0x0001022648d6 
QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, 
QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, 
QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, 
QGenericArgument, QGenericArgument) const + 1270
11  libqcocoa.dylib 0x000106354830 invocation function 
for block in qRegisterNotificationCallbacks() + 1936 (qcocoawindow.mm:131)
12  com.apple.Foundation0x7fff3860cfab -[__NSObserver 
_doit:] + 296
13  com.apple.CoreFoundation0x7fff35f8c35f 
__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
14  com.apple.CoreFoundation0x7fff35f8c2f3 
___CFXRegistrationPost1_block_invoke + 63
15  com.apple.CoreFoundation0x7fff35f8c268 
_CFXRegistrationPost1 + 372
16  com.apple.CoreFoundation0x7fff35f8bebe 
___CFXNotificationPost_block_invoke + 97
17  com.apple.CoreFoundation0x7fff35f5b7e2 
-[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1575
18  com.apple.CoreFoundation0x7fff35f5ac82 _CFXNotificationPost 
+ 1351
19  com.apple.Foundation0x7fff385e0a22 
-[NSNotificationCenter postNotificationName:object:userInfo:] + 59
20  com.apple.AppKit

[Interest] Crash when signal fires

2020-04-21 Thread Ben Haller via Interest
Hi folks.  I’m seeing something weird that I don’t understand.  I have a 
connection defined for the main window of my Qt Widgets app, like so:

connect(qApp, ::focusChanged, [this]() { updateUIEnabling(); 
});

I’m seeing a 100% reproducible crash as a result of this.  When the 
focusChanged signal fires, I end up in updateUIEnabling() as expected, but I 
immediately crash because something about the state of things is corrupted; the 
immediate symptom, according to the debugger, is that the ui pointer for my 
main window is equal to 0x1 (yuck).  I try to access a button,  
ui->playOneStepButton, and it crashes.  As I said, 100% reproducible.

The weird thing is that this does *not* happen if I change the connect 
statement to this:

connect(qApp, ::focusChanged, this, 
::updateUIEnabling);

Now, 100% of the time, there is no problem, no crash, and my app chugs along 
happily.  No other code changes involved.  I can literally flip this connect 
definition back and forth in my code and go from 100% crashing to 100% fine.

I’m pretty new to Qt and maybe I’m just being clueless somehow; but I thought 
that the two definitions above would be essentially identical in their effect.  
Why does the first one crash?  Note that it works fine in general; it seems to 
crash specifically when I open a *second* main window (which makes its own 
connection to focusChanged in the same way), and then close that second main 
window.  Now the first main window’s connection is somehow unhappy, and the 
next time I trigger the focusChanged() signal, boom.  It’s as if the connection 
for the second window somehow interferes with the connection for the first 
window, and closing the second window leads to a corruption in the connection 
state.

Naturally, I am now nervous about using the first type of connection anywhere 
in my code, since I don’t understand what the issue is.  Can anyone shed light 
on this?

Cheers,
-B.

Benjamin C. Haller
Messer Lab
Cornell University

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Windows installer for Qt programs

2020-04-21 Thread Scott Bloom
I use CMake + Innosetup + windeployqt

It makes the process very very simple.

Scott

-Original Message-
From: Interest  On Behalf Of Björn Schäpers
Sent: Tuesday, April 21, 2020 11:41 AM
To: interest@qt-project.org
Subject: Re: [Interest] Windows installer for Qt programs

Am 21.04.2020 um 09:19 schrieb "Alexander Carôt":
> Hello all,
>
> I consider shipping my Qt built software with a conventional installer on 
> Windows.
>
> Can anyone give me a recommendation of a solid freeware for this purpose ?
>
> Thanks in advance,
> best
>
> Alex
>
We use Innosetup at Work for that. I've not used any other tools, but when I 
started I made the migration from Innosetup 4 to 5 and did some online 
comparisons beforehand. I came to the conclusion Innosetup was still the best 
choice.

Regards,
Björn.

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


[Interest] Qt Application - Disabling AVX/AVX2

2020-04-21 Thread coroberti .
Hi,
Is it enough to define:

QMAKE_CFLAGS -= -arch:AVX -arch:AVX2
QMAKE_CXXFLAGS -=  -arch:AVX -arch:AVX2

to ensure that compilation by QtCreator with Qt-5.14-MSVC Windows
will not compile with such optimization flags even if avx and avx2 instructions
have not been disabled in Qt-library itself?

Thanks!

Kind regards,
Robert
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Windows installer for Qt programs

2020-04-21 Thread Elvis Stansvik
Den tis 21 apr. 2020 kl 09:21 skrev "Alexander Carôt" :
>
> Hello all,
>
> I consider shipping my Qt built software with a conventional installer on 
> Windows.
>
> Can anyone give me a recommendation of a solid freeware for this purpose ?

Just to chime in to what others have said: Our project uses CMake and
we use CPack which in turn uses WiX to create an installer for us.

I did not have to learn too much WiX wizardry, just a basic
customization to make it associate certain files with out application.
It has worked well so far.

We also use

set(CMAKE_INSTALL_UCRT_LIBRARIES ON)
include(InstallRequiredSystemLibraries)

to get the C runtime DLLs (including Universal CRT) installed
alongside our application, and then use windeployqt + CMake's
fixup_bundle to get the rest of our dependencies installed alongside
the application.

Cheers,
Elvis

>
> Thanks in advance,
> best
>
> Alex
>
> --
> http://www.carot.de
> Email : alexan...@carot.de
> Tel.: +49 (0)177 5719797
>
> ___
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


[Interest] How to get icon theme?

2020-04-21 Thread Matthew Woehlke
How do I determine what icon theme my application is using? 
QIcon::themeName() just returns an empty string. (But 
QIcon::fallbackThemeName() says "breeze"!) I am actually using 
"breeze-dark", and if I don't do anything, I get icons from that theme.


I need to know because my application will use its own theme in order to 
provide additional icons and a consistent look within the application, 
so I need to be able to kick the system theme down to the fallback 
theme. (If I leave it as "breeze", I get illegible icons due to my color 
theme.)


--
Matthew
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Customizing ui/rcc compiler in qmake

2020-04-21 Thread Patrick Stinson
Sorry, I meant uic not rcc.

> On Apr 21, 2020, at 10:14 AM, Patrick Stinson  wrote:
> 
> Is there a way to customize the ui compiler to use a command other than rcc?
> 
> For example, I am trying to set up my pyqt5 project using only qmake and want 
> it to use the command pyrcc5 instead of rcc, and with a few custom command 
> line arguments.
> 
> Thanks!

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Windows installer for Qt programs

2020-04-21 Thread Björn Schäpers

Am 21.04.2020 um 09:19 schrieb "Alexander Carôt":

Hello all,

I consider shipping my Qt built software with a conventional installer on 
Windows.

Can anyone give me a recommendation of a solid freeware for this purpose ?

Thanks in advance,
best

Alex

We use Innosetup at Work for that. I've not used any other tools, but when I 
started I made the migration from Innosetup 4 to 5 and did some online 
comparisons beforehand. I came to the conclusion Innosetup was still the best 
choice.


Regards,
Björn.

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


[Interest] Customizing ui/rcc compiler in qmake

2020-04-21 Thread Patrick Stinson
Is there a way to customize the ui compiler to use a command other than rcc?

For example, I am trying to set up my pyqt5 project using only qmake and want 
it to use the command pyrcc5 instead of rcc, and with a few custom command line 
arguments.

Thanks!
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


[Interest] Config errors while configuring Qt 5.12.8 LTS on ubuntu

2020-04-21 Thread Ramakanth Kesireddy
Hi,

Below is the configure line for Qt 5.12.8 LTS sources:

./configure -opensource -confirm-license -qt-libjpeg -qt-zlib -qt-libpng
-sql-sqlite -qt-xcb -no-cups -no-opengl -skip qt3d -skip qtactiveqt -skip
qtandroidextras -skip qtcanvas3d -skip qtconnectivity -skip qtdeclarative
-skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip
qtlocation -skip qtmacextras -skip qtmultimedia -skip qtquickcontrols -skip
qtquickcontrols2 -skip qtremoteobjects -skip qtscript -skip qtsensors -skip
qtserialbus -skip qtserialport -skip qtspeech -skip qtwayland -skip
qtwebsockets -skip qtwebview -skip qtwebchannel -skip qtwinextras -skip
qtandroidextras -skip qtx11extras -skip qtxmlpatterns -nomake tools -nomake
tests -nomake examples -no-use-gold-linker -no-iconv -no-mtdev -dbus
-fontconfig -system-freetype -no-libudev -openssl-linked -qt-pcre -v

It gives the errors after the configure output though required dependencies
are installed using apt-get on Ubuntu.

ERROR: Feature 'xcb' was enabled, but the pre-condition 'features.thread &&
features.xkbcommon && libs.xcb' failed.

ERROR: Feature 'system-freetype' was enabled, but the pre-condition
'features.freetype && libs.freetype' failed.

ERROR: Feature 'fontconfig' was enabled, but the pre-condition
'!config.msvc && features.system-freetype && libs.fontconfig' failed.

Let me know if am missing any dependencies in this regard.

Best Regards,
Ramakanth
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Windows installer for Qt programs

2020-04-21 Thread Steve Atkins


On 21/04/2020 08:19, "Alexander Carôt" wrote:

Hello all,

I consider shipping my Qt built software with a conventional installer on 
Windows.

Can anyone give me a recommendation of a solid freeware for this purpose ?


WIX. Something of a learning curve, but worth the effort.

Cheers,
  Steve

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] QVariant compare operator

2020-04-21 Thread Matthew Woehlke

On 20/04/2020 12.21, André Pönitz wrote:

On Mon, Apr 20, 2020 at 10:04:38AM -0400, Matthew Woehlke wrote:

On 19/04/2020 08.23, André Pönitz wrote:

QVariant(TypeA) and QVariant(TypeB) can be ordered for different TypeA and
TypeB based e.g. on alphabetical order of their .typeName().

If wanted, this can be refined to make e.g. all integral types comparable.


No:

   int{5} <=> JsonObject{...} => lesser
   int{5} <=> long{3} => greater
   long{3} <=> JsonObject{...} => greater

...oops.


"make comparable" means lumping them into a common "type", say
"@integral", with values covering the union set of the values
of the original type.


...and now your rule for heterogeneous comparisons ***isn't*** 
'according to the type name'. It's 'according to the type name, *except* 
'. Yuck.



You'd have to make all integral types sort before (or after) all other
types, but then you're back to not having a reliable ordering by type name.


No.


Really? Please explain how this is *not* the case.

--
Matthew
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


[Interest] Assigning video provider to different video outputs

2020-04-21 Thread Nuno Santos
Hi,

From my experience it doesn’t seem to be possible to assign the same video 
provider to two different VideoOutput elements.

So, what I’m trying to do now is to take it out from on VideoOutput and then 
assigning it to another VideoOutput.

However, I can’t seem to be able to do it as well. 

What should be right technic in order to make a video provider to be assigned 
to different VideoOutput in a dynamic way?

Thanks!

Regards,

Nuno
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Windows installer for Qt programs

2020-04-21 Thread Yves Maurischat

Am 21.04.2020 um 10:55 schrieb alexander golks:

...
For Qt itself it may be great, for other (differentyl structured)
projects it's often not worth the hassle.
...


besides, is there an easy offline upgrade way available now using IFW?


Not sure, as I haven't had that requirement yet. In my current project 
/upgrade /means: install a new version with a different version number 
into the same directory, leaving the old one in place (for which I had 
to go at great lengths to work around the problems I mentioned before, 
no solution for the registry thing though).


Mit freundlichen Grüßen | Kind regards,

*Yves Maurischat*
Senior Software Engineer

basysKom GmbH
Robert-Bosch-Str. 7 | 64293 Darmstadt | Germany
Tel: +49 6151 870 589 -144 | Fax: -199
yves.maurisc...@basyskom.com | www.basyskom.com

Handelsregister: Darmstadt HRB 9352
Geschaeftsfuehrende Partner: Heike Ziegler, Alexander Sorg
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Windows installer for Qt programs

2020-04-21 Thread alexander golks
Am Tue, 21 Apr 2020 10:46:02 +0200
schrieb Yves Maurischat :

> ...
> For Qt itself it may be great, for other (differentyl structured) 
> projects it's often not worth the hassle.
> ...
> 

besides, is there an easy offline upgrade way available now using IFW?

-- 
/*
 *  Your aims are high, and you are capable of much.
 */


pgpacaWB2u0ad.pgp
Description: Digitale Signatur von OpenPGP
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Windows installer for Qt programs

2020-04-21 Thread Yves Maurischat
I wouldn't recommend the Qt Installer Framework, due to its complexity 
and some problematic features. It's targeted at installing Qt, but can 
be a PITA for projects with a different apporach:


On Windows it always creates registry entries pointing at the 
(automagically generated) uninstaller. You cannot disable this. This is 
especially problematic i.e. if you have a collection of independent 
packages (maybe the same library in different versions or different 
libraies taht all should go into the same directory) and dont want to 
ship them all in the same installer, but one package per installer. Qt 
IFW doesn't allow installing into a directory that already has an 
uninstaller of anothzer package in it. Deleting an uninstaller does not 
remove the registry entry, and finding ist manually or using a script is 
basically impossible as it creates an unknown UUID key in the registry, 
that you cannot get ahold of while installing the package.


Another problem is, that unassisted installations without UI (i.e. on a 
remote machine without an X-Server) are not possible, but I guess  
that's only a problem on non-Windows systems.


Also Qt IFW has a kinda backwards approach to installation steps: you 
actively have to remove steps/UIs you dont want to use, instead of 
adding those you actually want to use.


For Qt itself it may be great, for other (differentyl structured) 
projects it's often not worth the hassle.


Mit freundlichen Grüßen | Kind regards,

*Yves Maurischat*
Senior Software Engineer

basysKom GmbH
Robert-Bosch-Str. 7 | 64293 Darmstadt | Germany
Tel: +49 6151 870 589 -144 | Fax: -199
yves.maurisc...@basyskom.com | www.basyskom.com

Handelsregister: Darmstadt HRB 9352
Geschaeftsfuehrende Partner: Heike Ziegler, Alexander Sorg

Am 21.04.2020 um 09:36 schrieb Dmitriy Purgin:

Hello Alexander,

you could try Qt Installer Framework: 
https://doc.qt.io/qtinstallerframework/index.html


Cheers
Dmitriy

On Tue, Apr 21, 2020 at 9:20 AM "Alexander Carôt" 
mailto:alexander_ca...@gmx.net>> wrote:


Hello all,

I consider shipping my Qt built software with a conventional
installer on Windows.

Can anyone give me a recommendation of a solid freeware for this
purpose ?

Thanks in advance,
best

Alex

--
http://www.carot.de
Email : alexan...@carot.de
Tel.: +49 (0)177 5719797

___
Interest mailing list
Interest@qt-project.org 
https://lists.qt-project.org/listinfo/interest


___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Windows installer for Qt programs

2020-04-21 Thread Nils Jeisecke via Interest

Hi Alex,

Coming from a Qt background, Qt Installer framework would be an obvious
candidate. I've not used QIFW but IMHO the installer part is one of the
things that do not really cry out for cross platform.

So in the past I tended to use NSIS for Windows installers. It's
powerful, strange and quirky at the same time.

Today, I'm using MSI. That's still the native way to go on Windows. MSIs
basically consist of a cabinet file containing the files to install and
a database describing the modifications on the target system.

To build MSIs it's worth digging into the free WIX toolset starting with
one of the examples. WIX provides an XML based abstraction of the MSI
database and tools to bootstrap XMLs and build MSIs.

Yes, there's a rather steep learning curve (and you should not be
allergic to GUIDs ;-) but the setup will be well maintainable and
scriptable (basically XML files + your scripts to put things together).

For a good introduction I'd recommend the book: "Wix 3.6: A Developer's
Guide to Windows Installer XML". It also gives valuable information
about not-so-obvious challenges like multi-lingual setups.

Yes, there are a lot of badly authored MSIs in the wild - usually thrown
together using mainstream tools I will not name here. Please don't blame
Windows Installer for this.

Nils

Am 21.04.2020 um 09:19 hat "Alexander Carôt" geschrieben:

Hello all,

I consider shipping my Qt built software with a conventional installer on 
Windows.

Can anyone give me a recommendation of a solid freeware for this purpose ?

Thanks in advance,
best

Alex


signature.asc
Description: PGP signature
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Windows installer for Qt programs

2020-04-21 Thread Vadim Peretokin
Hello,

If you're targeting normal users and not sysadmins, I'd recommend Squirrel
instead: https://github.com/Squirrel/Squirrel.Windows

Qt Installer Framework works but it has aesthetics targeting 2010, not 2020.

On Tue, Apr 21, 2020 at 9:37 AM Dmitriy Purgin  wrote:

> Hello Alexander,
>
> you could try Qt Installer Framework:
> https://doc.qt.io/qtinstallerframework/index.html
>
> Cheers
> Dmitriy
>
> On Tue, Apr 21, 2020 at 9:20 AM "Alexander Carôt" 
> wrote:
>
>> Hello all,
>>
>> I consider shipping my Qt built software with a conventional installer on
>> Windows.
>>
>> Can anyone give me a recommendation of a solid freeware for this purpose ?
>>
>> Thanks in advance,
>> best
>>
>> Alex
>>
>> --
>> http://www.carot.de
>> Email : alexan...@carot.de
>> Tel.: +49 (0)177 5719797
>>
>> ___
>> Interest mailing list
>> Interest@qt-project.org
>> https://lists.qt-project.org/listinfo/interest
>>
> ___
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest
>
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Windows installer for Qt programs

2020-04-21 Thread Dmitriy Purgin
Hello Alexander,

you could try Qt Installer Framework:
https://doc.qt.io/qtinstallerframework/index.html

Cheers
Dmitriy

On Tue, Apr 21, 2020 at 9:20 AM "Alexander Carôt" 
wrote:

> Hello all,
>
> I consider shipping my Qt built software with a conventional installer on
> Windows.
>
> Can anyone give me a recommendation of a solid freeware for this purpose ?
>
> Thanks in advance,
> best
>
> Alex
>
> --
> http://www.carot.de
> Email : alexan...@carot.de
> Tel.: +49 (0)177 5719797
>
> ___
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest
>
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


[Interest] Windows installer for Qt programs

2020-04-21 Thread Alexander Carôt
Hello all,

I consider shipping my Qt built software with a conventional installer on 
Windows.

Can anyone give me a recommendation of a solid freeware for this purpose ?

Thanks in advance,
best

Alex

--
http://www.carot.de
Email : alexan...@carot.de
Tel.: +49 (0)177 5719797

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest