Minimum install (or zip download) to get qtcored4.dll for downloaded application



  • Hi,

    I've been searching for a while now to see if there's some kind of available package I can download to resolve the missing dlls in a downloaded application. As far as I can see there's no such thing from any kind of trusted source. Now, I was thinking about installing the qt package, get the needed dlls and remove it again (might play with it next time my inner developer peeks out) but I'm unsure which packages I need to get the standard dlls. Also, it seems to be a Qt 4 dll, and I couldn't find an older version.

    Anyone able to give me some info here?

    Cheers!



  • Hi,

    First of all, you should provide the necessary Qt dlls with your application. There is no central repository to download the Qt dlls for an application.

    If you need QtCored and not QtCore than you are distributing a debug version of your application. You wouldn't want to do that because both your application's and the Qt dlls' size would be much larger than the release version.



  • Thanks, but I think you misread my question.

    If I release software I always include the needed libraries with it. The piece of software I'm trying to get up and running is someone elses project and not something I've made. I haven't even compiled it. Which is why I don't have the libraries needed to run it ;)
    [quote author="ckakman" date="1420977306"]Hi,

    First of all, you should provide the necessary Qt dlls with your application. There is no central repository to download the Qt dlls for an application.

    If you need QtCored and not QtCore than you are distributing a debug version of your application. You wouldn't want to do that because both your application's and the Qt dlls' size would be much larger than the release version.[/quote]


  • Moderators

    Hi, welcome to devnet.

    You can find all official installers "here":http://download.qt.io/official_releases/qt/

    The problem here is that there is more than one possible Qt4 version, configuration and toolchain used to build the dlls and there is no (easy) way to check if the app in question used the official one and if it did - which one (e.g. there are 3 official builds of Qt 4.8.6 for Windows: VS2008, VS2010 and MinGW 4.8.2).

    Apart from that - notice the "d" in qtcored4. This is the debug version of the dll. I don't know what kind of app you have there but it doesn't tell you much good about it if it's distributed in debug configuration.

    If, on the other hand, you have sources of that project then to be sure you should re-build it with one of these officially supported toolchains.


  • Moderators

    Hi,

    [quote author="Tiwas" date="1420977944"]The piece of software I'm trying to get up and running is someone elses project and not something I've made. I haven't even compiled it. Which is why I don't have the libraries needed to run it ;)[/quote]Do you know which compiler was used to build it? Which version of Qt?

    You need that info to download the correct package.

    It would be best if you could ask the person who made the executable file.



  • Ok, if someone published a Qt application for Windows and didn't included the necessary Qt dlls, this makes me think about the experience of that developer/company.

    You can check for the dependencies of a Windows application/dll using the Dependency Walker tool. You can download old Qt SDKs from http://download.qt.io/archive/qt/ which of course include prebuilt Qt libraries.


Log in to reply
 

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