<meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Casper<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I did some sleuthing on the problem of the not working <b>pyuic-wrapper.bat</b>.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The second parameter is wrong. It points to d<b>:\QGIS\Master_2\Build\output\bin\</b> but should point to <b>d:\QGIS\Master_2\Build\output\bin\RelWithDebInfo</b>.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The problem originates in several <b>vcxproj</b> files and that’s because in <b>PyQtMacros.cmake</b> the variable <b>CMAKE_BUILD_TYPE</b> is empty.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>You can see in <b>package-nightly.cmd</b> that <b>CMAKE_BUILD_TYPE</b> is set to <b>RelWithDebInfo</b>, so I did this also in <b>CMakeLists.txt</b> with the line <b>SET(CMAKE_BUILD_TYPE "RelWithDebInfo")</b>.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Now the original <b>pyuic-wrapper.bat</b> can be used again.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>One minor point: in the <b>vcxproj</b> files all calls to <b>pyuic-wrapper.bat</b> specify the <b>RelWithDebInfo</b> path. But then you only build the <b>RelWithDebInfo</b> anyway.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Another mystery solved ;-)<br><br><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Frits<o:p></o:p></span></p><div style='margin-top:4.8pt'><p class=MsoNormal style='line-height:18.0pt'><span style='font-size:8.5pt;font-family:"Tahoma","sans-serif";color:#666666'> <o:p></o:p></span></p></div></div>

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Building-and-debugging-QGIS-on-Windows-x64-tp5291058p5291658.html">RE: Building and debugging QGIS on Windows x64</a><br/>
Sent from the <a href="http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-Developer-f4099106.html">Quantum GIS - Developer mailing list archive</a> at Nabble.com.<br/>