Re: [Lazarus] Someone help built qt4pas.dll for win64

2015-03-14 Thread vfclists .
On 14 March 2015 at 12:50, FreeMan freema...@delphiturkiye.com wrote:

 :
 I'm s lucky :)
 Sure, I'm be happy, if I help somebody. I upload Qt4Pas5.7z (255kb). to
 our web site. just this dll file is enough for run my application.
 this is my dll compiled in w8 x64 with qt 4.8.6.
 http://www.delphiturkiye.com/files/Qt4Pas5.7z

 All qt 4.8.6 bin and lib folders size 1gb.
 qt-4.8.6-x64-mingw482r3-seh-rev1.7z file size 261mb but not sure about
 copyright problem.
 Yes, its good idea add 64 or some spell separate 3264bit version.
 And sorry for late answer.


 On 13.03.2015 19:02, zeljko wrote:

 That project for Qt64 is removed today (link you added at form), so no
 available binaries.
 Also, it will be nice that you upload somewhere that libQt4Pas.dll for
 64bit so other ppl can use it.
 Besides that I propose rename of libQt4Pas.dll to libQt4Pas64.dll for
 64bit target (of course in that case qt45.pas will be changed so it loads
 libQt4Pas64.dll) because of easier deployment of both targets under windows.

 zeljko



 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Can you upload the files removed from the sourceforge repo as well?
The licensing terms should remain the same and probably be verified from
whatever licensing files that are contained in it.


-- 
Frank Church

===
http://devblog.brahmancreations.com
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Someone help built qt4pas.dll for win64

2015-03-14 Thread vfclists .
On 13 March 2015 at 17:02, zeljko zel...@holobit.net wrote:

 On 03/13/2015 01:38 PM, FreeMan wrote:

 On 12.03.2015 20:57, zeljko wrote:

 QMAKE_CXXFLAGS += -fpermissive should be added to the Qt4Pas.pro

 zeljko

 Thank you, I can compile now. And I added message in forum
 How to build QT4pas5.dll win64
 http://forum.lazarus.freepascal.org/index.php/topic,27706.0.html


 That project for Qt64 is removed today (link you added at form), so no
 available binaries.
 Also, it will be nice that you upload somewhere that libQt4Pas.dll for
 64bit so other ppl can use it.


+1
I was eyeing this thread with the intention of trying out my own build as
well, as my recent attempts to run Qt builds on Windows failed.
It seems the owner deleted them in a huff.


 Besides that I propose rename of libQt4Pas.dll to libQt4Pas64.dll for
 64bit target (of course in that case qt45.pas will be changed so it loads
 libQt4Pas64.dll) because of easier deployment of both targets under windows.

 zeljko



 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




-- 
Frank Church

===
http://devblog.brahmancreations.com
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Someone help built qt4pas.dll for win64

2015-03-14 Thread FreeMan

:
I'm s lucky :)
Sure, I'm be happy, if I help somebody. I upload Qt4Pas5.7z (255kb). to 
our web site. just this dll file is enough for run my application.

this is my dll compiled in w8 x64 with qt 4.8.6.
http://www.delphiturkiye.com/files/Qt4Pas5.7z

All qt 4.8.6 bin and lib folders size 1gb.
qt-4.8.6-x64-mingw482r3-seh-rev1.7z file size 261mb but not sure about 
copyright problem.

Yes, its good idea add 64 or some spell separate 3264bit version.
And sorry for late answer.

On 13.03.2015 19:02, zeljko wrote:
That project for Qt64 is removed today (link you added at form), so no 
available binaries.
Also, it will be nice that you upload somewhere that libQt4Pas.dll for 
64bit so other ppl can use it.
Besides that I propose rename of libQt4Pas.dll to libQt4Pas64.dll for 
64bit target (of course in that case qt45.pas will be changed so it 
loads libQt4Pas64.dll) because of easier deployment of both targets 
under windows.


zeljko 



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Someone help built qt4pas.dll for win64

2015-03-14 Thread Giuliano Colla

Il 13/03/2015 18:02, zeljko ha scritto:

On 03/13/2015 01:38 PM, FreeMan wrote:

On 12.03.2015 20:57, zeljko wrote:

QMAKE_CXXFLAGS += -fpermissive should be added to the Qt4Pas.pro

zeljko

Thank you, I can compile now. And I added message in forum
How to build QT4pas5.dll win64
http://forum.lazarus.freepascal.org/index.php/topic,27706.0.html


That project for Qt64 is removed today (link you added at form), so no 
available binaries.
Also, it will be nice that you upload somewhere that libQt4Pas.dll for 
64bit so other ppl can use it.


If you don't have a place to upload it, just send it to me as an 
attachment (to my personal e-mail, because the list doesn't accept too 
large things), and I can make it available in a website I'm webmaster of.


Giuliano

--
Giuliano Colla

Project planning question: when it's 90% done, are we halfway or not yet?


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Someone help built qt4pas.dll for win64

2015-03-13 Thread FreeMan

On 12.03.2015 20:57, zeljko wrote:

QMAKE_CXXFLAGS += -fpermissive should be added to the Qt4Pas.pro

zeljko 

Thank you, I can compile now. And I added message in forum
How to build QT4pas5.dll win64
http://forum.lazarus.freepascal.org/index.php/topic,27706.0.html

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Someone help built qt4pas.dll for win64

2015-03-13 Thread zeljko

On 03/13/2015 01:38 PM, FreeMan wrote:

On 12.03.2015 20:57, zeljko wrote:

QMAKE_CXXFLAGS += -fpermissive should be added to the Qt4Pas.pro

zeljko

Thank you, I can compile now. And I added message in forum
How to build QT4pas5.dll win64
http://forum.lazarus.freepascal.org/index.php/topic,27706.0.html


That project for Qt64 is removed today (link you added at form), so no 
available binaries.
Also, it will be nice that you upload somewhere that libQt4Pas.dll for 
64bit so other ppl can use it.
Besides that I propose rename of libQt4Pas.dll to libQt4Pas64.dll for 
64bit target (of course in that case qt45.pas will be changed so it 
loads libQt4Pas64.dll) because of easier deployment of both targets 
under windows.


zeljko


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Someone help built qt4pas.dll for win64

2015-03-12 Thread zeljko

On 03/11/2015 03:35 PM, zeljko wrote:

On 03/11/2015 12:44 PM, FreeMan wrote:

I attached, all errors outputs. system is win8 x64
can some one help what is wrong or how to do build qt4pas5.dll x64?
Thank you.


Add -fpermissive to gcc so it should compile then. In that case such
errors will become warnings (something like range check on/off in fpc).


QMAKE_CXXFLAGS += -fpermissive should be added to the Qt4Pas.pro

zeljko



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Someone help built qt4pas.dll for win64

2015-03-11 Thread FreeMan

I attached, all errors outputs. system is win8 x64
can some one help what is wrong or how to do build qt4pas5.dll x64?
Thank you.

qt 4.8.6 binary files from: 
http://sourceforge.net/projects/qtx64/files/?source=navbar

mingw64 files from:  http://www.drangon.org/mingw/
qt4pas5 source from 
http://users.telenet.be/Jan.Van.hijfte/qtforfpc/fpcqt4.html
how to from: 
http://wiki.freepascal.org/Qt_Interface#Quick_start_guide_for_Windows


these are my results:

d:\Qt\qt4pas-V2.5_Qt4.5.3qmake -query
QT_INSTALL_PREFIX:d:\Qt\4.8.6-w64
QT_INSTALL_DATA:d:\Qt\4.8.6-w64
QT_INSTALL_DOCS:d:\Qt\4.8.6-w64\doc
QT_INSTALL_HEADERS:d:\Qt\4.8.6-w64\include
QT_INSTALL_LIBS:d:\Qt\4.8.6-w64\lib
QT_INSTALL_BINS:d:\Qt\4.8.6-w64\bin
QT_INSTALL_PLUGINS:d:\Qt\4.8.6-w64\plugins
QT_INSTALL_IMPORTS:d:\Qt\4.8.6-w64\imports
QT_INSTALL_TRANSLATIONS:d:\Qt\4.8.6-w64\translations
QT_INSTALL_CONFIGURATION:d:/Qt/4.8.6-w64
QT_INSTALL_EXAMPLES:d:\Qt\4.8.6-w64\examples
QT_INSTALL_DEMOS:d:\Qt\4.8.6-w64\demos
QMAKE_MKSPECS:d:\Qt\4.8.6-w64\mkspecs
QMAKE_VERSION:2.01a
QT_VERSION:4.8.6

d:\Qt\qt4pas-V2.5_Qt4.5.3qmake Qt4Pas.pro
Project MESSAGE: Note: This binding version was generated for Qt 4.5.3. 
Current

Qt is 4.8.6
Project MESSAGE: Qt documents binary compatibility in each Version 
Change Note:

http://qt.nokia.com/developer/changes
Project MESSAGE: Pascal Qt Interface for binding platform: MSWINDOWS
Project MESSAGE: Install location: d:\Qt\4.8.6-w64\bin

d:\Qt\qt4pas-V2.5_Qt4.5.3make
g++ -c -pipe -fno-keep-inline-dllexport -O2 -w -frtti -fexceptions 
-mthreads -DU
NICODE -DMSWINDOWS -DQT_DLL -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB 
-DQT_NETW
ORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT 
-DQT_HAVE_SSE
2 -DQT_THREAD_SUPPORT -I..\4.8.6-w64\include\QtCore 
-I..\4.8.6-w64\include\Qt
Network -I..\4.8.6-w64\include\QtGui 
-I..\4.8.6-w64\include\QtWebKit -I..\
4.8.6-w64\include -I..\4.8.6-w64\include\ActiveQt -Itmp 
-I..\4.8.6-w64\mks

pecs\win32-g++-4.6 -o tmp\qt4pas.o src\qt4pas.cpp
In file included from src\qt4pas.cpp:59:0:
src\qwidget_c.cpp: In function 'unsigned int QWidget_winId(QWidgetH)':
src\qwidget_c.cpp:29:51: error: cast from 'WId {aka HWND__*}' to 
'unsigned int'

loses precision [-fpermissive]
  return (unsigned int) ((QWidget *)handle)-winId();
   ^
...
...
make: *** [tmp/qt4pas.o] Error 1


d:\Qt\qt4pas-V2.5_Qt4.5.3qmake -query
QT_INSTALL_PREFIX:d:\Qt\4.8.6-w64
QT_INSTALL_DATA:d:\Qt\4.8.6-w64
QT_INSTALL_DOCS:d:\Qt\4.8.6-w64\doc
QT_INSTALL_HEADERS:d:\Qt\4.8.6-w64\include
QT_INSTALL_LIBS:d:\Qt\4.8.6-w64\lib
QT_INSTALL_BINS:d:\Qt\4.8.6-w64\bin
QT_INSTALL_PLUGINS:d:\Qt\4.8.6-w64\plugins
QT_INSTALL_IMPORTS:d:\Qt\4.8.6-w64\imports
QT_INSTALL_TRANSLATIONS:d:\Qt\4.8.6-w64\translations
QT_INSTALL_CONFIGURATION:d:/Qt/4.8.6-w64
QT_INSTALL_EXAMPLES:d:\Qt\4.8.6-w64\examples
QT_INSTALL_DEMOS:d:\Qt\4.8.6-w64\demos
QMAKE_MKSPECS:d:\Qt\4.8.6-w64\mkspecs
QMAKE_VERSION:2.01a
QT_VERSION:4.8.6



d:\Qt\qt4pas-V2.5_Qt4.5.3qmake Qt4Pas.pro
Project MESSAGE: Note: This binding version was generated for Qt 4.5.3. Current
Qt is 4.8.6
Project MESSAGE: Qt documents binary compatibility in each Version Change Note:
http://qt.nokia.com/developer/changes
Project MESSAGE: Pascal Qt Interface for binding platform: MSWINDOWS
Project MESSAGE: Install location: d:\Qt\4.8.6-w64\bin




d:\Qt\qt4pas-V2.5_Qt4.5.3make
g++ -c -pipe -fno-keep-inline-dllexport -O2 -w -frtti -fexceptions -mthreads -DU
NICODE -DMSWINDOWS -DQT_DLL -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETW
ORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE
2 -DQT_THREAD_SUPPORT -I..\4.8.6-w64\include\QtCore -I..\4.8.6-w64\include\Qt
Network -I..\4.8.6-w64\include\QtGui -I..\4.8.6-w64\include\QtWebKit -I..\
4.8.6-w64\include -I..\4.8.6-w64\include\ActiveQt -Itmp -I..\4.8.6-w64\mks
pecs\win32-g++-4.6 -o tmp\qt4pas.o src\qt4pas.cpp
In file included from src\qt4pas.cpp:59:0:
src\qwidget_c.cpp: In function 'unsigned int QWidget_winId(QWidgetH)':
src\qwidget_c.cpp:29:51: error: cast from 'WId {aka HWND__*}' to 'unsigned int'
loses precision [-fpermissive]
  return (unsigned int) ((QWidget *)handle)-winId();
   ^
src\qwidget_c.cpp: In function 'unsigned int QWidget_internalWinId(QWidgetH)':
src\qwidget_c.cpp:39:59: error: cast from 'WId {aka HWND__*}' to 'unsigned int'
loses precision [-fpermissive]
  return (unsigned int) ((QWidget *)handle)-internalWinId();
   ^
src\qwidget_c.cpp: In function 'unsigned int QWidget_effectiveWinId(QWidgetH)':
src\qwidget_c.cpp:44:60: error: cast from 'WId {aka HWND__*}' to 'unsigned int'
loses precision [-fpermissive]
  return (unsigned int) ((QWidget *)handle)-effectiveWinId();
^
In file included from src\qt4pas.cpp:14:0:
src\pascalbind.h: In instantiation of 'void 

Re: [Lazarus] Someone help built qt4pas.dll for win64

2015-03-11 Thread zeljko

On 03/11/2015 12:44 PM, FreeMan wrote:

I attached, all errors outputs. system is win8 x64
can some one help what is wrong or how to do build qt4pas5.dll x64?
Thank you.


Add -fpermissive to gcc so it should compile then. In that case such 
errors will become warnings (something like range check on/off in fpc).


z.



qt 4.8.6 binary files from:
http://sourceforge.net/projects/qtx64/files/?source=navbar
mingw64 files from: http://www.drangon.org/mingw/
qt4pas5 source from
http://users.telenet.be/Jan.Van.hijfte/qtforfpc/fpcqt4.html
how to from:
http://wiki.freepascal.org/Qt_Interface#Quick_start_guide_for_Windows

these are my results:

d:\Qt\qt4pas-V2.5_Qt4.5.3qmake -query
QT_INSTALL_PREFIX:d:\Qt\4.8.6-w64
QT_INSTALL_DATA:d:\Qt\4.8.6-w64
QT_INSTALL_DOCS:d:\Qt\4.8.6-w64\doc
QT_INSTALL_HEADERS:d:\Qt\4.8.6-w64\include
QT_INSTALL_LIBS:d:\Qt\4.8.6-w64\lib
QT_INSTALL_BINS:d:\Qt\4.8.6-w64\bin
QT_INSTALL_PLUGINS:d:\Qt\4.8.6-w64\plugins
QT_INSTALL_IMPORTS:d:\Qt\4.8.6-w64\imports
QT_INSTALL_TRANSLATIONS:d:\Qt\4.8.6-w64\translations
QT_INSTALL_CONFIGURATION:d:/Qt/4.8.6-w64
QT_INSTALL_EXAMPLES:d:\Qt\4.8.6-w64\examples
QT_INSTALL_DEMOS:d:\Qt\4.8.6-w64\demos
QMAKE_MKSPECS:d:\Qt\4.8.6-w64\mkspecs
QMAKE_VERSION:2.01a
QT_VERSION:4.8.6

d:\Qt\qt4pas-V2.5_Qt4.5.3qmake Qt4Pas.pro
Project MESSAGE: Note: This binding version was generated for Qt 4.5.3.
Current
Qt is 4.8.6
Project MESSAGE: Qt documents binary compatibility in each Version
Change Note:
http://qt.nokia.com/developer/changes
Project MESSAGE: Pascal Qt Interface for binding platform: MSWINDOWS
Project MESSAGE: Install location: d:\Qt\4.8.6-w64\bin

d:\Qt\qt4pas-V2.5_Qt4.5.3make
g++ -c -pipe -fno-keep-inline-dllexport -O2 -w -frtti -fexceptions
-mthreads -DU
NICODE -DMSWINDOWS -DQT_DLL -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB
-DQT_NETW
ORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT
-DQT_HAVE_SSE
2 -DQT_THREAD_SUPPORT -I..\4.8.6-w64\include\QtCore
-I..\4.8.6-w64\include\Qt
Network -I..\4.8.6-w64\include\QtGui
-I..\4.8.6-w64\include\QtWebKit -I..\
4.8.6-w64\include -I..\4.8.6-w64\include\ActiveQt -Itmp
-I..\4.8.6-w64\mks
pecs\win32-g++-4.6 -o tmp\qt4pas.o src\qt4pas.cpp
In file included from src\qt4pas.cpp:59:0:
src\qwidget_c.cpp: In function 'unsigned int QWidget_winId(QWidgetH)':
src\qwidget_c.cpp:29:51: error: cast from 'WId {aka HWND__*}' to
'unsigned int'
loses precision [-fpermissive]
   return (unsigned int) ((QWidget *)handle)-winId();
^
...
...
make: *** [tmp/qt4pas.o] Error 1



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus