<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi, Jeff,</span></div><div><br><span></span></div><div><span>Here are the instructions:<br></span></div><div><br></div><div><span>1. Install QtSDK;<br>2. Install CMake;<br>3. Copy C:\QtSDK\mingw\bin\* to C:\QtSDK\mingw\libexec\gcc\mingw32\4.4.0\ (version may vary);</span></div><div><span>4. Check out smokegen: git clone git://anongit.kde.org/smokegen;</span></div><div><span>5. Check out smokeqt: git clone git://anongit.kde.org/smokeqt;</span></div><div><span>6. </span><span>Check out </span><span>assemblygen</span><span>: </span><span>http://gitorious.org/assemblygen/assemblygen/;</span></div><div><span>7. Go to </span><span>assemblygen/assemblies/qyoto-qtcore/native/handlers.cpp, find the line "mapPointer(obj, o, o->classId, 0);" (in the </span>marshall_basetype function<span>) and comment it out - this works
 around a crash-causing bug that is not fixed yet;<br></span></div><div><br><span></span></div><div><span>for each in smokegen, </span><span>smokeqt, </span><span>assemblygen (in this order):</span></div><div><span>1. Run cmake-gui - select the dir with the checked out source and the desired dir for binaries; use MinGW and specify C:\QtSDK\mingw\bin\gcc.exe as the C compiler and C:\QtSDK\mingw\bin\g++.exe as the C++ compiler;</span></div><div><span>2. Fill in the CMAKE_BUILD_TYPE: "Release" or "Debug"; leaving it empty produced some strange half-debug version;<br></span></div><div><span>3. Configure - when it complains about QT_QMAKE_EXECUTABLE, set it to the location of qmake.exe (C:\QtSDK\Desktop\Qt\<version>\mingw\bin\qmake.exe, for example) by browsing through the GUI;<br>4. On the command line, cd to the dir through the command line and run "C:\QtSDK\mingw\bin\mingw32-make.exe install".</span></div><div><br><span></span></div><div><span>Notes
 about </span><span>assemblygen:</span></div><div><span>1. If it cannot find the SMOKE libs, go to the libs/ subdir of your installation dir (specified in CMAKE_INSTALL_PREFIX) and copy all smoke*.dll files to your CMAKE binary dir for assemblygen;</span></div><div><span>2. If you have problems with assemblygen/tools/uics/ui4.h, open it, find the line "#define </span><span style=" color:#000080;"></span><span style=" color:#c0c0c0;"></span><span style=" color:#000080;"></span><span style=" color:#c0c0c0;"></span>QDESIGNER_UILIB_EXPORT<span style=" color:#c0c0c0;"> </span>QDESIGNER_UILIB_IMPORT<span>" at the start and change it to </span><span>"#define </span><span style=" color:#000080;"></span><span style=" color:#c0c0c0;"></span><span style=" color:#000080;"></span><span style=" color:#c0c0c0;"></span>QDESIGNER_UILIB_EXPORT<span style=" color:#c0c0c0;"> </span>QDESIGNER_UILIB_EXTERN<span>".</span></div><div><br><span></span></div><div><span>Good luck.
 I'll be happy to help if you have other questions.<br></span></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Jeff Alstadt <jeff.alstadt@centare.com><br> <b><span style="font-weight: bold;">To:</span></b> "kde-bindings@kde.org" <kde-bindings@kde.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Saturday, June 2, 2012 8:16 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> [Kde-bindings] Building Qyoto on Windows<br> </font> </div> <br>
<div id="yiv1169256744">

 
 
<style><!--
#yiv1169256744  
 _filtered #yiv1169256744 {font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;}
 _filtered #yiv1169256744 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
#yiv1169256744  
#yiv1169256744 p.yiv1169256744MsoNormal, #yiv1169256744 li.yiv1169256744MsoNormal, #yiv1169256744 div.yiv1169256744MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"sans-serif";}
#yiv1169256744 a:link, #yiv1169256744 span.yiv1169256744MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv1169256744 a:visited, #yiv1169256744 span.yiv1169256744MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv1169256744 span.yiv1169256744EmailStyle17
        {font-family:"sans-serif";color:windowtext;}
#yiv1169256744 .yiv1169256744MsoChpDefault
        {font-family:"sans-serif";}
 _filtered #yiv1169256744 {margin:1.0in 1.0in 1.0in 1.0in;}
#yiv1169256744 div.yiv1169256744WordSection1
        {}
--></style>

<div>
<div class="yiv1169256744WordSection1">
<div class="yiv1169256744MsoNormal">I am interested in building Qyoto on Windows using VS 2010. 
</div> 
<div class="yiv1169256744MsoNormal">If so does anyone have any steps that could be followed.</div> 
<div class="yiv1169256744MsoNormal">  </div> 
<div class="yiv1169256744MsoNormal">I was able to get it to build on Linux successfully.</div> 
<div class="yiv1169256744MsoNormal">  </div> 
<div class="yiv1169256744MsoNormal">Any advice would be greatly appreciated.</div> 
<div class="yiv1169256744MsoNormal">  </div> 
<div class="yiv1169256744MsoNormal">Regards,</div> 
<div class="yiv1169256744MsoNormal">Jeff Alstadt</div> 
<div class="yiv1169256744MsoNormal">  </div> 
<div class="yiv1169256744MsoNormal">  </div> 
</div>
</div>

</div><br>_______________________________________________<br>Kde-bindings mailing list<br><a ymailto="mailto:Kde-bindings@kde.org" href="mailto:Kde-bindings@kde.org">Kde-bindings@kde.org</a><br><a href="https://mail.kde.org/mailman/listinfo/kde-bindings" target="_blank">https://mail.kde.org/mailman/listinfo/kde-bindings</a><br><br><br> </div> </div>  </div></body></html>