[Kde-bindings] Kde-bindings Digest, Vol 110, Issue 2

Jeff Alstadt jeff.alstadt at centare.com
Mon Jun 4 01:35:12 UTC 2012


I figured it out. I needed to install the latest mingw compilers.  Once I installed these everything ended up working with the Configure part. If I run into any more troubles I will post. 
I seemed to not have them on my system.

@Steven Boswell Make sure to note to get mingw compilers on your sys. This was missing in your instruction attachment for building on windows.

Thanks,
Jeff
________________________________________
From: Jeff Alstadt
Sent: Sunday, June 03, 2012 8:03 PM
To: kde-bindings at kde.org
Subject: RE: Kde-bindings Digest, Vol 110, Issue 2

Hi I tried this and got the following error when trying to generate smokegen.

CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
CMake Error: Could not find cmake module file:C:/smokegen/smokegen-build/CMakeFiles/CMakeCCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER_ENV_VAR
CMake Error: Could not find cmake module file:C:/smokegen/smokegen-build/CMakeFiles/CMakeCXXCompiler.cmake
Configuring incomplete, errors occurred!

What should CMAKE_MAKE_PROGRAM be set to? Is it the location where Cmake is located?

Thanks,
Jeff
________________________________________
From: kde-bindings-bounces at kde.org [kde-bindings-bounces at kde.org] on behalf of kde-bindings-request at kde.org [kde-bindings-request at kde.org]
Sent: Saturday, June 02, 2012 12:56 PM
To: kde-bindings at kde.org
Subject: Kde-bindings Digest, Vol 110, Issue 2

Send Kde-bindings mailing list submissions to
        kde-bindings at kde.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://mail.kde.org/mailman/listinfo/kde-bindings
or, via email, send a message with subject or body 'help' to
        kde-bindings-request at kde.org

You can reach the person managing the list at
        kde-bindings-owner at kde.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Kde-bindings digest..."


Today's Topics:

   1. Building Qyoto on Windows (Jeff Alstadt)
   2. Re: Building Qyoto on Windows (Dimitar Dobrev)
   3. Re: Building Qyoto on Windows (Steven Boswell II)


----------------------------------------------------------------------

Message: 1
Date: Sat, 2 Jun 2012 17:16:13 +0000
From: Jeff Alstadt <jeff.alstadt at centare.com>
To: "kde-bindings at kde.org" <kde-bindings at kde.org>
Subject: [Kde-bindings] Building Qyoto on Windows
Message-ID:
        <EC16D53B3A731E478285033137B4037F41213B68 at BL2PRD0610MB387.namprd06.prod.outlook.com>

Content-Type: text/plain; charset="us-ascii"

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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20120602/58083a86/attachment-0001.html>

------------------------------

Message: 2
Date: Sat, 2 Jun 2012 10:52:33 -0700 (PDT)
From: Dimitar Dobrev <dpldobrev at yahoo.com>
To: KDE bindings for other programming languages
        <kde-bindings at kde.org>
Subject: Re: [Kde-bindings] Building Qyoto on Windows
Message-ID:
        <1338659553.48304.YahooMailNeo at web125906.mail.ne1.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"

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 at centare.com>
To: "kde-bindings at kde.org" <kde-bindings at 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 at kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20120602/47bd611a/attachment-0001.html>

------------------------------

Message: 3
Date: Sat, 2 Jun 2012 10:56:13 -0700 (PDT)
From: Steven Boswell II <ulatekh at yahoo.com>
To: KDE bindings for other programming languages
        <kde-bindings at kde.org>
Subject: Re: [Kde-bindings] Building Qyoto on Windows
Message-ID:
        <1338659773.93650.YahooMailNeo at web160403.mail.bf1.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"

Enclosed are my latest build instructions for MS Windows.
Also enclosed is a patch that hacks assemblygen to work around a problem we're currently experiencing with QModelIndex.

Steven Boswell


________________________________
 From: Jeff Alstadt <jeff.alstadt at centare.com>
To: "kde-bindings at kde.org" <kde-bindings at kde.org>
Sent: Saturday, June 2, 2012 10:16 AM
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 at kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20120602/5f5a8eb9/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: qyoto-windows-build.txt
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20120602/5f5a8eb9/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: assemblygen-4.8.3-hack_fix_qevent_qmodelindex_crash.patch
Type: application/octet-stream
Size: 371 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20120602/5f5a8eb9/attachment.obj>

------------------------------

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


End of Kde-bindings Digest, Vol 110, Issue 2
********************************************




More information about the Kde-bindings mailing list