Compiling for windows xp
-
Have you checked the dependencies with "dependency walker":http://www.dependencywalker.com/ ?
I think there is some lib missing! -
i found a problem i should download visual studio redistribute and install it on windows xp
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=5582 -
[quote author="kitten" date="1313918381"]sorry for my bad english:D[/quote]
It's not about bad english, it's about insufficient information.Does your application even start?
Is there an error message when you start your application? If yes, which?
If it starts successfully - does your application crash?
Which DLLs did you redistribute along with your application? In which localtion did you put this DLLs?
Have you tested this on multiple Windows XP / Windows 7 machines?Otherwise we have to depend on our crystal balls which is sometimes pretty insufficient too.
-
The following "document":http://doc.qt.nokia.com/4.7/deployment-windows.html contains detailed information on how to deploy your application on Windows. The recommended way to distribute the C runtimes is to include the appropriate Visual C++ Redistributable Package (VCRedist) executable with your application and ensure that it is executed when the user installs your application. Try doing that to see if it solves the problem and make sure that your deployment is in accordance with what's recommended in the link above.
-
[quote author="kitten" date="1313915797"]my windows is 64 bit and when i compile it on release mode it doesn't run [/quote]
You should also compile 32 bit for 32 bit systems. 32 bit software can run on 32 bit machines and on 64 bit machines. 64 bit software only on 64 bit machines.
The second thing is, if you compile with MSVS, you must always ensure that the redistributables are correctly installed.