Don't use but need to run application?



  • I write my qt application don't use qtwebkit, qtsql, qtxml, qtnetwork, I build successful but when create standard alone application and run then have error : unable to locate component qtsql4.dll not found. When I add qtsql4.dll then have error unable to locate component
    qtxml4.dll not found,.... final, I add all 4 dll follow: qtwebkit4.dll, qtsql4.dll, qtxml4.dll, qtnetwork4.dll then application run successful.Why in my code don't use these libraries but when run still need them?



  • How looks project file?



  • Sounds like you linked to these modules even if you didn't use them... Indeed, show us your project (.pro) file, especially the section
    @
    QT += ...
    @


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.