<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;">Thanks,<br>
Fixed and app is build/installed on windows.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Now,<br>
How could i package it for other users?<br>
Is there any way to package one KDE application for Windows? (I know that there are some executables should run before a kde app like "kded") and the package should have them too.<br>
If not, Is there any plan to work on it!?<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>I think that having this will be better than installing just KDE-Win-Installer packages.<br>
And for distribution KDE on windows of course, apps need a way to package for windows.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Thanks for all.<br>
Mehrdad<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>On Jumee 14 Farvardin 1388 18:31:02 Carlo wrote:<br>
&gt; 2009/4/3 mehrdad momeny &lt;mehrdad.momeny@gmail.com&gt;:<br>
&gt; &gt; Thanks for guid,<br>
&gt; &gt; It passes that level!<br>
&gt; &gt; But, fails at linking stage!<br>
&gt; &gt;<br>
&gt; &gt; Here it is more info:<br>
&gt; &gt;<br>
&gt; &gt; KDE install dir is C:\KDE (I installed part of it at C:\Program files\KDE<br>
&gt; &gt; and after it, i moved the whole dir here and install some other pkgs.)<br>
&gt; &gt; BTW the install dir is C:\KDE now! :D<br>
&gt; &gt;<br>
&gt; &gt; Choqok src is at C:\choqok<br>
&gt; &gt;<br>
&gt; &gt; Cmake command:<br>
&gt; &gt; C:\choqok\build&gt;cmake.exe -G "MinGW Makefiles" ..<br>
&gt; &gt; -DCMAKE_INCLUDE_PATH=c:\kde\include -DCMAKE_LIBRARY_PATH=c:\kde\lib<br>
&gt; &gt; -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=c:\kde<br>
&gt; &gt;<br>
&gt; &gt; Make Result:<br>
&gt; &gt; C:\choqok\build&gt;make<br>
&gt; &gt; .<br>
&gt; &gt; .<br>
&gt; &gt; .<br>
&gt; &gt; [ 96%] Building CXX object src/CMakeFiles/choqok.dir/account.obj<br>
&gt; &gt; [100%] Building CXX object src/CMakeFiles/choqok.dir/settings.obj<br>
&gt; &gt; make[2]: *** No rule to make target `D:/kde/kde-mingw/lib/libQtSvg4.a',<br>
&gt; &gt; needed by `bin/choqok.exe'.  Stop.<br>
&gt; &gt; make[1]: *** [src/CMakeFiles/choqok.dir/all] Error 2<br>
&gt; &gt; make: *** [all] Error 2<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; It seems that problem is that it try to find libraries at D:/kde/... but<br>
&gt; &gt; there isn't such a dir and I set the lib dir (on cmake command) to<br>
&gt; &gt; c:\kde\lib<br>
&gt; &gt; And i don't remember any other place i set this! :-/<br>
&gt; &gt;<br>
&gt; &gt; Thanks for helps :)<br>
&gt; &gt; Mehrdad<br>
&gt; &gt;<br>
&gt; &gt; On Fri, Apr 3, 2009 at 4:18 PM, Carlo &lt;brandon.ml@gmail.com&gt; wrote:<br>
&gt; &gt;&gt; 2009/4/3 Mehrdad Momeny &lt;mehrdad.momeny@gmail.com&gt;:<br>
&gt; &gt;&gt; &gt; On Jumee 14 Farvardin 1388 15:11:15 Carlo wrote:<br>
&gt; &gt;&gt; &gt;&gt; 2009/4/3 Mehrdad Momeny &lt;mehrdad.momeny@gmail.com&gt;:<br>
&gt; &gt;&gt; &gt;&gt; &gt; Hi guys,<br>
&gt; &gt;&gt; &gt;&gt; &gt; I want to build my KDE app for windows!<br>
&gt; &gt;&gt; &gt;&gt; &gt; Already installed kdelibs(+dev), kdebase-apps and kdebase-runtime,<br>
&gt; &gt;&gt; &gt;&gt; &gt; ...<br>
&gt; &gt;&gt; &gt;&gt; &gt; via KDE win installer.<br>
&gt; &gt;&gt; &gt;&gt; &gt; My app is just depend on KDELibs, I think. (It's Choqok, A<br>
&gt; &gt;&gt; &gt;&gt; &gt; Microblog client. src is at extragear/network)<br>
&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;&gt; &gt; I check the tutorials, but can't find how should i do this!?<br>
&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;&gt; &gt; Running Cmake on src dir says that can't find Compilers and I don't<br>
&gt; &gt;&gt; &gt;&gt; &gt; think<br>
&gt; &gt;&gt; &gt;&gt; &gt; how could i set for it. :(<br>
&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;&gt; &gt; And about Emerge tool:<br>
&gt; &gt;&gt; &gt;&gt; &gt; I already installed those libs, how could i tell it to use them,<br>
&gt; &gt;&gt; &gt;&gt; &gt; instead<br>
&gt; &gt;&gt; &gt;&gt; &gt; of build all from src? and how someone can build a third party kde<br>
&gt; &gt;&gt; &gt;&gt; &gt; app<br>
&gt; &gt;&gt; &gt;&gt; &gt; with it?<br>
&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;&gt; &gt; Any help appreciated :)<br>
&gt; &gt;&gt; &gt;&gt; &gt; Mehrdad<br>
&gt; &gt;&gt; &gt;&gt; &gt; _______________________________________________<br>
&gt; &gt;&gt; &gt;&gt; &gt; Kde-windows mailing list<br>
&gt; &gt;&gt; &gt;&gt; &gt; Kde-windows@kde.org<br>
&gt; &gt;&gt; &gt;&gt; &gt; https://mail.kde.org/mailman/listinfo/kde-windows<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; if you installed msvc packages you need to install msvc and the<br>
&gt; &gt;&gt; &gt;&gt; platform sdk while if you installed mingw packages you need mingw<br>
&gt; &gt;&gt; &gt;&gt; then you need to setup the path properly, for msvc there is a script<br>
&gt; &gt;&gt; &gt;&gt; setenv.bat somewhere, then choose the right generator for cmake mingw<br>
&gt; &gt;&gt; &gt;&gt; makefiles for mingw and nmake makefiles for msvc<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; Just installed MinGW(gcc and g++ and make) and its related kde<br>
&gt; &gt;&gt; &gt; packages! But, how could i tell CMake to use it?<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; Thanks anyway :)<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;&gt; _______________________________________________<br>
&gt; &gt;&gt; &gt;&gt; Kde-windows mailing list<br>
&gt; &gt;&gt; &gt;&gt; Kde-windows@kde.org<br>
&gt; &gt;&gt; &gt;&gt; https://mail.kde.org/mailman/listinfo/kde-windows<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; _______________________________________________<br>
&gt; &gt;&gt; &gt; Kde-windows mailing list<br>
&gt; &gt;&gt; &gt; Kde-windows@kde.org<br>
&gt; &gt;&gt; &gt; https://mail.kde.org/mailman/listinfo/kde-windows<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; you have to set the path properly, follow the mingw section of the<br>
&gt; &gt;&gt; guide linked by ralf<br>
&gt; &gt;&gt; _______________________________________________<br>
&gt; &gt;&gt; Kde-windows mailing list<br>
&gt; &gt;&gt; Kde-windows@kde.org<br>
&gt; &gt;&gt; https://mail.kde.org/mailman/listinfo/kde-windows<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Kde-windows mailing list<br>
&gt; &gt; Kde-windows@kde.org<br>
&gt; &gt; https://mail.kde.org/mailman/listinfo/kde-windows<br>
&gt;<br>
&gt; it's a known bug, go into KDEDIR\share\apps\cmake\modules, search for<br>
&gt; D:/kde/kde-mingw in the files and substitute it with your kdedir<br>
&gt; _______________________________________________<br>
&gt; Kde-windows mailing list<br>
&gt; Kde-windows@kde.org<br>
&gt; https://mail.kde.org/mailman/listinfo/kde-windows<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p></body></html>