<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">W dniu 2014-02-03 07:27, zeljko pisze:<br>
</div>
<blockquote cite="mid:52EF36BD.70505@holobit.net" type="cite">On
02/02/2014 11:21 PM, max wrote:
<br>
<blockquote type="cite">I tested "V2.6Alpha" It works wery well
with Qt 5.2
<br>
(only PageControl has problems )
<br>
<br>
But I have few questions :
<br>
<br>
[1] Why you change "function" to "procedure" ? For example:
....<br>
</blockquote>
Den will answer.
<br>
<br>
<blockquote type="cite">
<br>
[2] In your opinion what is best way to add Qt5 to lazarus:
<br>
a) Use current qt widgetset lazarus\lcl\interfaces\qt and all
<br>
difference put into
<br>
{$IFDEF QT_5}
<br>
{$ELSE}
<br>
{$ENDIF}
<br>
b) or Create new widgetset qt5 lazarus\lcl\interfaces\qt5
<br>
</blockquote>
<br>
Will be lcl/interfaces/qt5. Don't want mess like with gtk/gtk2 few
yrs ago.But of course most of code will be copied there from qt4.
<br>
</blockquote>
<span id="result_box" class="short_text" lang="en"><span class="hps">A
little</span> <span class="hps">more</span> <span class="hps">work</span>
<span class="hps">but better</span> <span class="hps">for the
future. <br>
</span></span>
<blockquote cite="mid:52EF36BD.70505@holobit.net" type="cite">
<br>
<blockquote type="cite">
<br>
[3]
<br>
Have you widgetset for lazarus for qt5 ?
<br>
</blockquote>
<br>
Not yet. I'm not satisfied with same bindings (all in one
libQt4Pas)...waiting to see if it's possible to create splitted
bindings: libQt5CorePas, libQt5GuiPas,
libQt5NetworkPas,libQt5OpenGLPas etc....
<br>
</blockquote>
In my opinion <span id="result_box" class="" lang="en"><span
class="hps">it does not matter</span> <span class="hps">is</span>
<span class="hps">a single file</span> <span class="hps">or</span>
<span class="hps">several, <br>
If I compile my Qt ./configure -no-opengl -no-webkit <br>
then when compile </span></span><span id="result_box" class=""
lang="en"><span class="hps">bindings "qmake Qt5Pas.pro; make "
should know what is in my Qt and enable/disable some future.<br>
Or </span></span><span id="result_box" class="" lang="en"><span
class="hps"><span id="result_box" class="" lang="en"><span
class="hps">Qt5Pas.pro shold have "option to set" for
example <br>
<br>
<br>
</span></span></span></span>
<pre class="cpp">CONFIG += opengl ; Set if you have Opengl compiled
CONFIG += webkit ; Set if you have webkit compiled
CONFIG += network ; Set if you have network compiled
webkit {
<span style=" color:#800080;">HEADERS</span><span style=" color:#c0c0c0;"> </span>+=<span style=" color:#c0c0c0;"> </span>\
<span style=" color:#c0c0c0;"> </span>qwebframe_hook.h<span style=" color:#c0c0c0;"> </span>\
<span style=" color:#c0c0c0;"> </span>qwebsecurityorigin_hook.h<span style=" color:#c0c0c0;"> </span>\
<span style=" color:#c0c0c0;"> </span>qwebdatabase_hook.h<span style=" color:#c0c0c0;"> </span>\
<span style=" color:#c0c0c0;"> </span>qwebhistory_hook.h<span style=" color:#c0c0c0;"> </span>\
<span style=" color:#c0c0c0;"> </span>qwebhistoryinterface_hook.h<span style=" color:#c0c0c0;"> </span>\
<span style=" color:#c0c0c0;"> </span>qwebpage_hook.h<span style=" color:#c0c0c0;"> </span>\
<span style=" color:#c0c0c0;"> </span>qwebsettings_hook.h<span style=" color:#c0c0c0;"> </span>\
<span style=" color:#c0c0c0;"> </span>qwebview_hook.h
<span style=" color:#800080;">SOURCES</span><span style=" color:#c0c0c0;"> </span>+=<span style=" color:#c0c0c0;"> </span><span style=" color:#c0c0c0;"></span>\
<span style=" color:#c0c0c0;"> </span>qwebframe_hook_c.cpp<span style=" color:#c0c0c0;"> </span>\
<span style=" color:#c0c0c0;"> </span>qwebsecurityorigin_hook_c.cpp<span style=" color:#c0c0c0;"> </span>\
<span style=" color:#c0c0c0;"> </span>qwebdatabase_hook_c.cpp<span style=" color:#c0c0c0;"> </span>\
<span style=" color:#c0c0c0;"> </span>qwebhistory_hook_c.cpp<span style=" color:#c0c0c0;"> </span>\
<span style=" color:#c0c0c0;"> </span>qwebhistoryinterface_hook_c.cpp<span style=" color:#c0c0c0;"> </span>\
<span style=" color:#c0c0c0;"> </span>qwebpage_hook_c.cpp<span style=" color:#c0c0c0;"> </span>\
<span style=" color:#c0c0c0;"> </span>qwebsettings_hook_c.cpp<span style=" color:#c0c0c0;"> </span>\
<span style=" color:#c0c0c0;"> </span>qwebview_hook_c.cpp
}
network {
<span style=" color:#800080;">HEADERS</span><span style=" color:#c0c0c0;"> </span>+=<span style=" color:#c0c0c0;"> </span>\
<span style=" color:#c0c0c0;"> </span>qudpsocket_hook.h<span style=" color:#c0c0c0;"> </span>\
<span style=" color:#c0c0c0;"> </span>qtcpsocket_hook.h<span style=" color:#c0c0c0;"> </span>\
<span style=" color:#c0c0c0;"> </span>qtcpserver_hook.h<span style=" color:#c0c0c0;"> </span>\
<span style=" color:#c0c0c0;"> </span>qnetworkaccessmanager_hook.h<span style=" color:#c0c0c0;"> </span>\
<span style=" color:#c0c0c0;"> </span>qnetworkreply_hook.h<span style=" color:#c0c0c0;"> </span>\
<span style=" color:#800080;">SOURCES</span><span style=" color:#c0c0c0;"> </span>+=<span style=" color:#c0c0c0;"> </span><span style=" color:#c0c0c0;"></span>\
<span style=" color:#c0c0c0;"> </span>qudpsocket_hook_c.cpp<span style=" color:#c0c0c0;"> </span>\
<span style=" color:#c0c0c0;"> </span>qtcpsocket_hook_c.cpp<span style=" color:#c0c0c0;"> </span>\
<span style=" color:#c0c0c0;"> </span>qtcpserver_hook_c.cpp<span style=" color:#c0c0c0;"> </span>\
<span style=" color:#c0c0c0;"> </span>qnetworkaccessmanager_hook_c.cpp<span style=" color:#c0c0c0;"> </span>\
<span style=" color:#c0c0c0;"> </span>qnetworkreply_hook_c.cpp<span style=" color:#c0c0c0;"> </span>\
<span style=" color:#c0c0c0;"></span>
}
</pre>
<span id="result_box" class="" lang="en"><span class="hps"><span
id="result_box" class="" lang="en"><span class="hps"></span></span> <br>
<br>
</span></span>
<blockquote cite="mid:52EF36BD.70505@holobit.net" type="cite">
<br>
zeljko
<br>
<br>
</blockquote>
<br>
Mariusz<br>
</body>
</html>