--===============0744971354986784628== Content-Type: multipart/alternative; boundary="452707994-792884319-1338659553=:48304" --452707994-792884319-1338659553=:48304 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi, Jeff,=0A=0AHere are the instructions:=0A=0A=0A1. Install QtSDK;=0A2. In= stall CMake;=0A3. Copy C:\QtSDK\mingw\bin\* to C:\QtSDK\mingw\libexec\gcc\m= ingw32\4.4.0\ (version may vary);=0A4. Check out smokegen: git clone git://= anongit.kde.org/smokegen;=0A5. Check out smokeqt: git clone git://anongit.k= de.org/smokeqt;=0A6. Check out assemblygen: http://gitorious.org/assemblyge= n/assemblygen/;=0A7. Go to assemblygen/assemblies/qyoto-qtcore/native/handl= ers.cpp, find the line "mapPointer(obj, o, o->classId, 0);" (in the marshal= l_basetype function) and comment it out - this works around a crash-causing= bug that is not fixed yet;=0A=0A=0Afor each in smokegen, smokeqt, assembly= gen (in this order):=0A1. Run cmake-gui - select the dir with the checked o= ut 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;=0A2. Fill in the CMAKE_BUILD_TYPE: "Release" or "Debug"; leavi= ng it empty produced some strange half-debug version;=0A=0A3. Configure - w= hen it complains about QT_QMAKE_EXECUTABLE, set it to the location of qmake= .exe (C:\QtSDK\Desktop\Qt\\mingw\bin\qmake.exe, for example) by br= owsing through the GUI;=0A4. On the command line, cd to the dir through the= command line and run "C:\QtSDK\mingw\bin\mingw32-make.exe install".=0A=0AN= otes about assemblygen:=0A1. If it cannot find the SMOKE libs, go to the li= bs/ subdir of your installation dir (specified in CMAKE_INSTALL_PREFIX) and= copy all smoke*.dll files to your CMAKE binary dir for assemblygen;=0A2. I= f you have problems with assemblygen/tools/uics/ui4.h, open it, find the li= ne "#define QDESIGNER_UILIB_EXPORTQDESIGNER_UILIB_IMPORT" at the start and = change it to "#define QDESIGNER_UILIB_EXPORTQDESIGNER_UILIB_EXTERN".=0A=0AG= ood luck. I'll be happy to help if you have other questions.=0A=0A=0A=0A___= _____________________________=0A From: Jeff Alstadt =0ATo: "kde-bindings@kde.org" =0ASent: Saturday, = June 2, 2012 8:16 PM=0ASubject: [Kde-bindings] Building Qyoto on Windows=0A= =0A=0A =0AI am interested in building Qyoto on Windows using VS 2010. =0AI= f so does anyone have any steps that could be followed.=0A=A0=0AI was able = to get it to build on Linux successfully.=0A=A0=0AAny advice would be great= ly appreciated.=0A=A0=0ARegards,=0AJeff Alstadt=0A=A0=0A=A0=0A_____________= __________________________________=0AKde-bindings mailing list=0AKde-bindin= gs@kde.org=0Ahttps://mail.kde.org/mailman/listinfo/kde-bindings --452707994-792884319-1338659553=:48304 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hi, Jeff,<= /span>

Here are the instruction= s:

1. Install QtSDK;
2. Instal= l CMake;
3. Copy C:\QtSDK\mingw\bin\* to C:\QtSDK\mingw\libexec\gcc\ming= w32\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 m= arshall_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 cma= ke-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 compil= er 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. Con= figure - when it complains about QT_QMAKE_EXECUTABLE, set it to the locatio= n of qmake.exe (C:\QtSDK\Desktop\Qt\<version>\mingw\bin\qmake.exe, fo= r example) by browsing through the GUI;
4. On the command line, cd to th= e dir through the command line and run "C:\QtSDK\mingw\bin\mingw32-make.exe= install".

Notes about assemblygen:
1. If it cannot fin= d the SMOKE libs, go to the libs/ subdir of your installation dir (specifie= d in CMAKE_INSTALL_PREFIX) and copy all smoke*.dll files to your CMAKE bina= ry dir for assemblygen;
2. If you have problems with= assemblygen/tools/uics/ui4.h, open it, find the line "#define QDESIGNER_UILIB_EXPORT QDESIGNER_UI= LIB_IMPORT" at the start and change it to "#define QDESIGNER_UILIB_EXPORT QDESI= GNER_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: Sa= turday, June 2, 2012 8:16 PM
Subj= ect: [Kde-bindings] Building Qyoto on Windows
=
=0A
=0A=0A =0A =0A=0A=0A
=0A
=0A
I am interested in building Qyoto on Windows using VS 2010. =0A
=0A=
If so does anyone have any steps that= could be followed.
=0A
 <= /div> =0A
I was able to get it to buil= d on Linux successfully.
=0A
&n= bsp;
=0A
Any advice would be gre= atly appreciated.
=0A
  =0A
Regards,
=0A
Jeff Alstadt
=0A
 
=0A
 =
=0A
=0A
=0A=0A

__________________________________= _____________
Kde-bindings mailing list
Kde-bindings@kde.org=
https://mail.kde.org/mailman/listinfo/kde-bindings

<= br>
--452707994-792884319-1338659553=:48304-- --===============0744971354986784628== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kde-bindings mailing list Kde-bindings@kde.org https://mail.kde.org/mailman/listinfo/kde-bindings --===============0744971354986784628==--