* Note: You cannot mix different versions of MSVC. So for the latest MSVC you have to compile QT from scratch * You have to edit one file in Qt to make it compile. See http://stackoverflow.com/questions/18080625/qt-4-8-visual-studio-2013-compiling-error (some additional hacking needed, but minor) ==== before using MSVC ================= you need to run this command everytime to use the 32bit version: vcvarsall and to get 64bit: vcvarsall x86-amd64 (vcvarsall.bat, in VC/, put it in your PATH) ==== Compiling Qt ========== This is the command you should compile QT with: configure -no-qt3support -release -shared -fast -nomake demos -nomake examples -nomake docs -plugin-manifests ==== Compiling qtjambi ==== * If compilation SIGSEGVS, you are likely mixing precompiled objects from different compilers or versions * For MSVC2013, you need to patch FindCompiler.java diff --git a/src/java/ant-qtjambi/com/trolltech/tools/ant/FindCompiler.java b/sr index e7f218d..3c86b99 100644 --- a/src/java/ant-qtjambi/com/trolltech/tools/ant/FindCompiler.java +++ b/src/java/ant-qtjambi/com/trolltech/tools/ant/FindCompiler.java @@ -419,6 +419,11 @@ public class FindCompiler { return Compiler.MSVC2012_64; return Compiler.MSVC2012; } + if(stderr.contains("18.00")) { + if(stderr.contains("x64")) + return Compiler.MSVC2012_64; + return Compiler.MSVC2012; + } throw new BuildException("Failed to detect Visual Studio versio } } catch(InterruptedException ex) { =================================================== git://git.smar.fi/qtjambi-website.git default for msvc is 32bit. vcvarsall x86-amd64 http://fbergmann.github.io/launch4j/ include JRE from FIJI?