Windows build needs libtiff-5__.dll
-
Hi all -
I created a static build of Qt for Windows, in order to produce a standalone image of my application. When I gave my application to someone, he got some runtime errors about missing some libraries:
libtiff-5__.dll libjpeg-9__.dll libfreetype-6__.dll libpng16-16.dllI have these libraries in my Strawberry perl installation. But what I'm wondering is, what might it be about my application that needs these files? I've created other standalone images in the past without having to worry about these (I'd never even heard of them until my user reported this issue).
Thanks for any suggestions...
-
Hi all -
I created a static build of Qt for Windows, in order to produce a standalone image of my application. When I gave my application to someone, he got some runtime errors about missing some libraries:
libtiff-5__.dll libjpeg-9__.dll libfreetype-6__.dll libpng16-16.dllI have these libraries in my Strawberry perl installation. But what I'm wondering is, what might it be about my application that needs these files? I've created other standalone images in the past without having to worry about these (I'd never even heard of them until my user reported this issue).
Thanks for any suggestions...
-
Hi all -
I created a static build of Qt for Windows, in order to produce a standalone image of my application. When I gave my application to someone, he got some runtime errors about missing some libraries:
libtiff-5__.dll libjpeg-9__.dll libfreetype-6__.dll libpng16-16.dllI have these libraries in my Strawberry perl installation. But what I'm wondering is, what might it be about my application that needs these files? I've created other standalone images in the past without having to worry about these (I'd never even heard of them until my user reported this issue).
Thanks for any suggestions...
Hi,
Do you also have the corresponding
.libfile there ? If so, I am wondering whether the configuration script found them and used them in place of the embedded versions. -
Hi,
Do you also have the corresponding
.libfile there ? If so, I am wondering whether the configuration script found them and used them in place of the embedded versions.@SGaist that was my thought, too, but no, there's no counterpart, at least nowhere in my path. I also looked on the Strawberry web site at the various distributions, but it doesn't look like any use static libraries.
I'm still curious as to how it is that my app thinks it even needs these files...
-
@SGaist that was my thought, too, but no, there's no counterpart, at least nowhere in my path. I also looked on the Strawberry web site at the various distributions, but it doesn't look like any use static libraries.
I'm still curious as to how it is that my app thinks it even needs these files...
The corresponding image format plugins would need them if built against a dynamic version of these libraries.
-
The corresponding image format plugins would need them if built against a dynamic version of these libraries.
@SGaist said in Windows build needs libtiff-5__.dll:
The corresponding image format plugins would need them if built against a dynamic version of these libraries.
No, I understand that (at least I think I do) -- what I meant is, how did I make this particular application "special" in that it needs these?
Could it have something to do with the fact that I also build this for Android? I realize this is a reach, but I can't think of anything else yet.
-
@SGaist said in Windows build needs libtiff-5__.dll:
The corresponding image format plugins would need them if built against a dynamic version of these libraries.
No, I understand that (at least I think I do) -- what I meant is, how did I make this particular application "special" in that it needs these?
Could it have something to do with the fact that I also build this for Android? I realize this is a reach, but I can't think of anything else yet.
Are you using any of the image format listed there ? In resources for example ?
Which modules are you using for your application ?
I don't think the build for Android has an influence there (it should not).
-
Hi all -
I created a static build of Qt for Windows, in order to produce a standalone image of my application. When I gave my application to someone, he got some runtime errors about missing some libraries:
libtiff-5__.dll libjpeg-9__.dll libfreetype-6__.dll libpng16-16.dllI have these libraries in my Strawberry perl installation. But what I'm wondering is, what might it be about my application that needs these files? I've created other standalone images in the past without having to worry about these (I'd never even heard of them until my user reported this issue).
Thanks for any suggestions...
-
Are you using any of the image format listed there ? In resources for example ?
Which modules are you using for your application ?
I don't think the build for Android has an influence there (it should not).
@SGaist said in Windows build needs libtiff-5__.dll:
Are you using any of the image format listed there ? In resources for example ?
Well I'm definitely not using TIFF. I may have some PNGs.
Which modules are you using for your application ?
Lots of them, but I don't have an exact list. I do draw from the controls, the layouts, etc. Plus my own modules (about 40 of them).
-
@mzimmers My Qt app needs these installed libs on Linux which do not come with Qt. I guess they are needed on Windows as well.
if your target device does not have these libs, you have to wrap them with your app.
@JoeCFD said in Windows build needs libtiff-5__.dll:
if your target device does not have these libs, you have to wrap them with your app.
And, because they're .dlls, I can't build them into my application, can I?
Good thing all this Windows stuff is going away for me soon...
-
@JoeCFD said in Windows build needs libtiff-5__.dll:
if your target device does not have these libs, you have to wrap them with your app.
And, because they're .dlls, I can't build them into my application, can I?
Good thing all this Windows stuff is going away for me soon...
-
M mzimmers has marked this topic as solved on
-
@JoeCFD said in Windows build needs libtiff-5__.dll:
On windows, yes.
Oh? Are you sure about that? Remember, all I have are the .dlls (no static libraries).
-
@mzimmers To link your application to a library at build time you need .lib file, not .dll.
.dll is what is loaded at runtime.@jsulm right, but if I find some static versions of those libraries, will Qt link to them when I build? I realize I'll have to add them to my CMakeLists.txt file, but...are there any other steps needed?
Also, assuming I can find those libraries, is there a way to build them into my next static build of Qt?
Thanks...
-
@JoeCFD said in Windows build needs libtiff-5__.dll:
On windows, yes.
Oh? Are you sure about that? Remember, all I have are the .dlls (no static libraries).
-
@mzimmers Open your APK to see what you have there. I guess dlls are used only in Windows, but not in Android(based on Linux).
-
@JoeCFD I need this to work on all platforms. So far, I haven't found a static version of those libraries (though I haven't looked hard yet).
-
@jsulm right, but if I find some static versions of those libraries, will Qt link to them when I build? I realize I'll have to add them to my CMakeLists.txt file, but...are there any other steps needed?
Also, assuming I can find those libraries, is there a way to build them into my next static build of Qt?
Thanks...
@mzimmers said in Windows build needs libtiff-5__.dll:
Also, assuming I can find those libraries, is there a way to build them into my next static build of Qt?
If source code is available then it should be possible as long as those can be built for all your target platforms.
Static libs should work as long as they were built using compatible compiler.