this is my problem.
I've created an installer with Qt IFW 2.0.1 in which I need to make some extra checks only under Windows.
More exactly I need to check if the destination directory (selected through the Browse button in the Target Directory page) ends with a particular string (say "MyFolder"). When not, a popup message is shown and the Next button is kept disabled.
I've implemented a "slot" connected to the signal "textChanged" of TargetDirectoryLineEdit; it shows the popup message (when necessary) but I'm not able to force the Next button to work in a proper way (note that I've simply used "buttons.NextButton.enabled = false;") .
Is there a mistake?
If not should I implement a custom page?
Thanks in advance.
Posts made by sassi67
Qt IFW: override the default behaviour of Browse button in Target Directory
RE: Qt Installer Framework: How to block the user from changing TargetDir?
You need a script to be executed when your installer is launched (see the tutorial example in Qt Installer Framework directory if you are new)
By adding the following line to the Component constructor should be sufficient:
RE: [Solved] LNK1104: cannot open file 'QtGuid.lib' in Windows 8.1
The above problem has been "autoresolved" with a reboot of my PC.
Another problem arised: "LINK : fatal error LNK1104: cannot open file 'qtmaind.lib'"
This is due to the fact that release libraries and debug libraries are stored into 2 different folders.
So I've taken the source files of Qt4.8.4 from OSG and recompiled them with the desidered options.
Now everything works.
[Solved] LNK1104: cannot open file 'QtGuid.lib' in Windows 8.1
under Windows 8.1 I'm trying to use the toolchain of OpenSceneGraph 3.0.1 (unfortunately I cannot upgrade to a more recent release) based on Qt 4.8.4 msvc2008 win32.
When I try to create a simple gui widget project I always get the linker error "LNK1104: cannot open file 'QtGuid.lib' ". That's reasonable because, by examining the folder containg the toolchain, the library is QtGui4d.lib not QtGuid.lib.
Is there a workaround to force Qt to use the correct library (a LIBS directive in .pro or whatever)?
Thanks in advance