Forum > QT

Error: Qt is not installed.

<< < (2/3) > >>

Fred vS:
@ Mr Blaazen, Leledumbo and Felipemdc
Thank you, gracias, obrigado...
I gonna test it... ;D

felipemdc:
Another thing to notice. I think that this might be impossible, because afaik the link to libQt4Pas.so is static so the error message is from the operating system and your program doesn't even start executing. In that case it will be impossible to change how the operating system handles this kind of error.

BigChimp:
Seems like a better idea is to use the distribution's packaging system and create .deb/.rpm/etc files where the Qt dependency is included.

Or create a launcher app that checks for qt and runs the main app if present.

Fred vS:
@ BigChimp


--- Quote ---Or create a launcher app that checks for qt
--- End quote ---

Ok, and how to do it  :-[

Thanks

BigChimp:

--- Quote from: Fred vS on August 17, 2011, 11:27:20 pm ---@ BigChimp


--- Quote ---Or create a launcher app that checks for qt
--- End quote ---

Ok, and how to do it  :-[

Thanks

--- End quote ---
I'd have a look at Leledumbo's & Felipe's posts: write an FPC program that uses LoadLibrary to load a core QT library. If that fails, show a message box using X11 code on Linux (or Win32 API or OSX Carbon/Cocoa...).
If it works, execute the main Qt program (using TProcess or whatever)...

Regards,
BigChimp

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version