PDA

View Full Version : How to make exe for hardware manipulation application?



Gokulnathvc
8th August 2011, 08:20
How to make exe for hardware manipulation application? My code will access hard drive of the system and will get some information about drive number,name,serial number etc. I want to give the client a single exe, now it is asking for certain dll's. I don't want to give dll's along with the exe. I just want to give a single exe.. How to make all those dll's bundled in a single exe, or statically linking.. Or any sample application which also uses the hardware manipulations and using only single exe..

Talei
8th August 2011, 10:03
To statically link against Qt recompile Qt from src (static code, if You don't have commercial license of Qt, will be GPL).

AFAIK Qt don't offer mechanism to parse hw. information and problem is platform specific.
Look here: http://www.codeproject.com/KB/mcpp/DriveInfoEx.aspx and here: http://lists.trolltech.com/qt-interest/2004-11/msg01098.html