One *simple* Release build of fetchmore
-
That's all I ask. No "where's mingwm10.dll," "where's libgcc_s_dw2-1.dll," "can't entry point _Z9qBadAllocv."
How did the downloaded fetchmore.exe ever get built in the first place? I still can't duplicate a build on my own machine so that I can work from there. If it's going to be so much trouble to do this in Windows, how would the code ever conceivably be ported to something else?
How do you build this?
-
In the wiki,
there is an article regarding Qt and "static linking:":http://developer.qt.nokia.com/wiki/How_to_build_a_static_Qt_version_for_Windows_with_gcc -
Don't grow too much the program, linking statically ?
-
yes and no,
if you link statically, you needn't deliver the libraries which are not small (look at QtCore, QtGui, etc.) But your executable grows, that's correct.
You have to think, which one is better. And you have to think, what is allowed for which license. I think, there were some restrictions with LGPL...
-
But his questions sound like he just wants to take his exe and put it somewhere to run it, right?
bq. How did the downloaded fetchmore.exe ever get built in the first place? I still can’t duplicate a build on my own machine so that I can work from there. If it’s going to be so much trouble to do this in Windows, how would the code ever conceivably be ported to something else?
-
Regarding the distribution question, I think that considering the quality level that can be reached with software developed with a platform like Qt-Creator, is not a bad think consider also a good setup to distribute the application and don't simply deliver a exe file.
Regarding the license, it's true, but after reading and reading and reading ... all the options for licensing the software, I decided that the LGPL license is probably the best solution because you can delivery already LGPL licensed libraries, your software and yours of third party components with this license or not.
I agree with Andre, building statically is not the simple solution. For those that are on the market by a sufficient number of year, I hope they remember what great wonderful revolution was when dynamic libraries was introduced in the development world.
What I meant with the fact that the code grows, was not only a mere problem of dimensions, but also of how the program work, I think that the performances slows with big programs respect to a package.
Concluding, I am experiencing a problem delivering applications developed with Qt for desktop. Is there the right way to find exactly ALL the components needed to deliver a program with libraries ?
-
Gerolf,
my problem is there. I use DependencyViewer too, but there is a case that I continue to have a problem with (seems silly, but is still unresolved) jpeg images...
-
Thank you very much for this advice. Now, the question is forked ;)
-
How I know if I - unconsciouscly use the eplug-ins? I was sure the there was "something" I was using in develop mode and I missed when was in the application...
-
Why e-plugins are note clearly evidentiated ? It's an obvious thing that I miss for ignorance or what ?
Thank again.
-
-
Please note that static linking has implications on the licensing of your software.
LGPL does AFAIK require dynamic linking to be applicable. So by linking statically against a non-commercial Qt you will need to use the GPL licensing option if I understood the licenses correctly, which will then apply to your code as well. I am not a lawyer though.
-
I agree, this is a confirmation on what I told in a previous post.
I user LGPL due for two important things: can be delivered with public and non-public components / libraries and is possible to create LPGL and Proprietary licenses at the same time. So, considering that - this is my point of view - dynamic linking is more flexible than static - I agree this licensing method.
-
In principle, I think you could use static linking under LGPL if you provide a means to link against a new/modified version of the libs. That is possible, if you provide the object files. Opinions on this matter differ though, and I don't know of any court rulings on the matter.