[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bindings
Subject:    Re: [Kde-bindings] Building Qyoto on Windows
From:       Dimitar Dobrev <dpldobrev () yahoo ! com>
Date:       2012-06-02 17:52:33
Message-ID: 1338659553.48304.YahooMailNeo () web125906 ! mail ! ne1 ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi, Jeff,

Here are the instructions:


1. Install QtSDK;
2. Install CMake;
3. Copy C:\QtSDK\mingw\bin\* to C:\QtSDK\mingw\libexec\gcc\mingw32\4.4.0\ (version \
may vary); 4. Check out smokegen: git clone git://anongit.kde.org/smokegen;
5. Check out smokeqt: git clone git://anongit.kde.org/smokeqt;
6. Check out assemblygen: http://gitorious.org/assemblygen/assemblygen/;
7. Go to assemblygen/assemblies/qyoto-qtcore/native/handlers.cpp, find the line \
"mapPointer(obj, o, o->classId, 0);" (in the marshall_basetype function) and comment \
it out - this works around a crash-causing bug that is not fixed yet;


for each in smokegen, smokeqt, assemblygen (in this order):
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; 2. Fill in the CMAKE_BUILD_TYPE: \
"Release" or "Debug"; leaving it empty produced some strange half-debug version;

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; 4. On the command line, cd to the dir through the command \
line and run "C:\QtSDK\mingw\bin\mingw32-make.exe install".

Notes about assemblygen:
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; 2. If you have problems with \
assemblygen/tools/uics/ui4.h, open it, find the line "#define \
QDESIGNER_UILIB_EXPORTQDESIGNER_UILIB_IMPORT" at the start and change it to "#define \
QDESIGNER_UILIB_EXPORTQDESIGNER_UILIB_EXTERN".

Good luck. I'll be happy to help if you have other questions.



________________________________
 From: Jeff Alstadt <jeff.alstadt@centare.com>
To: "kde-bindings@kde.org" <kde-bindings@kde.org> 
Sent: Saturday, June 2, 2012 8:16 PM
Subject: [Kde-bindings] Building Qyoto on Windows
 

 
I am interested in building Qyoto on Windows using VS 2010. 
If so does anyone have any steps that could be followed.
 
I was able to get it to build on Linux successfully.
 
Any advice would be greatly appreciated.
 
Regards,
Jeff Alstadt
 
 
_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings


[Attachment #5 (text/html)]

<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-&gt;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\&lt;version&gt;\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 &lt;jeff.alstadt@centare.com&gt;<br> <b><span style="font-weight: \
bold;">To:</span></b> "kde-bindings@kde.org" &lt;kde-bindings@kde.org&gt; <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"> &nbsp;</div> 
<div class="yiv1169256744MsoNormal">I was able to get it to build on Linux \
successfully.</div>  <div class="yiv1169256744MsoNormal"> &nbsp;</div> 
<div class="yiv1169256744MsoNormal">Any advice would be greatly appreciated.</div> 
<div class="yiv1169256744MsoNormal"> &nbsp;</div> 
<div class="yiv1169256744MsoNormal">Regards,</div> 
<div class="yiv1169256744MsoNormal">Jeff Alstadt</div> 
<div class="yiv1169256744MsoNormal"> &nbsp;</div> 
<div class="yiv1169256744MsoNormal"> &nbsp;</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>



_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic