Recent

Author Topic: QT On Windows Error  (Read 23536 times)

Derit

  • Jr. Member
  • **
  • Posts: 55
QT On Windows Error
« on: May 20, 2014, 10:43:44 am »
i'm run my app on windows with qt widgetset
i'm download qt 4.8.6 external error found and i'm download qt 4.7.3
procedure entry point error
Lazarus Trunk/FPC Trunk/2.6.2/2.6.4

zeljko

  • Hero Member
  • *****
  • Posts: 1050
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: QT On Windows Error
« Reply #1 on: May 20, 2014, 06:34:27 pm »
I don't understand what's your exact problem. Where are Qt dll's on your windows machine ? What version of libQt4Pas.dll do you have ?

Derit

  • Jr. Member
  • **
  • Posts: 55
Re: QT On Windows Error
« Reply #2 on: May 21, 2014, 04:52:33 am »
Qt4Pas5.dll ver 5.2.5.0


Lazarus Trunk/FPC Trunk/2.6.2/2.6.4

zeljko

  • Hero Member
  • *****
  • Posts: 1050
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: QT On Windows Error
« Reply #3 on: May 21, 2014, 11:01:06 am »
Maybe you did not downloaded mingw based qt libs ? Maybe you have multiple Qt dll's around. You have to check that first.

Derit

  • Jr. Member
  • **
  • Posts: 55
Re: QT On Windows Error
« Reply #4 on: May 21, 2014, 12:24:37 pm »
Lazarus Trunk/FPC Trunk/2.6.2/2.6.4

zeljko

  • Hero Member
  • *****
  • Posts: 1050
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: QT On Windows Error
« Reply #5 on: May 21, 2014, 03:29:54 pm »

Derit

  • Jr. Member
  • **
  • Posts: 55
Re: QT On Windows Error
« Reply #6 on: May 21, 2014, 04:02:53 pm »
i'm download qt from the link http://ftp.heanet.ie/mirrors/ftp.trolltech.com/pub/qt/pub/source/qt-win-opensource-4.7.3-mingw.exe

and MinGW-gcc-4.4.0
Why 4.7.3 ? Why not 4.8.5 or 4.8.6 ?

QT 4.8.6 external error on windows... on time debuging...
Lazarus Trunk/FPC Trunk/2.6.2/2.6.4

zeljko

  • Hero Member
  • *****
  • Posts: 1050
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: QT On Windows Error
« Reply #7 on: May 21, 2014, 06:45:05 pm »
Please: check your filesystem for Qt dll's.Probably you have installed multiple dlls around. I'm using Qt-4.8.5 on Windows XP/Win7 without problems.

Derit

  • Jr. Member
  • **
  • Posts: 55
Re: QT On Windows Error
« Reply #8 on: May 22, 2014, 09:11:29 am »
my problem same with post 557.0
http://forum.lazarus.freepascal.org/index.php?topic=7557.0

"Can not find the entry point in _Z11qt_assert_xPKcS0_S0_i procedure dynamic-link library QtCore4.dll" on qt 4.7.3  on qt 4.8.6 external error
Lazarus Trunk/FPC Trunk/2.6.2/2.6.4

zeljko

  • Hero Member
  • *****
  • Posts: 1050
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: QT On Windows Error
« Reply #9 on: May 22, 2014, 05:11:23 pm »
But that problem is solved. Have you seen what Zoran says about dlls ?

Derit

  • Jr. Member
  • **
  • Posts: 55
Re: QT On Windows Error
« Reply #10 on: May 23, 2014, 06:50:02 am »
yes i seen what Zoran says about dlls but not work

mingwm10.dll, QtCore4.dll, libgcc_s_dw2-1.dll, QtGui4.dll, QtNetwork4.dll, QtWebKit4.dll, QtXmlPatterns4.dll, phonon4.dll.

zoran say "All of them were originally installed"

mingwm10.dll not exist in dir "C:\Qt\4.8.6\bin"  i also install mingw32
mingwm10.dll not exist...
Lazarus Trunk/FPC Trunk/2.6.2/2.6.4

zeljko

  • Hero Member
  • *****
  • Posts: 1050
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: QT On Windows Error
« Reply #11 on: May 23, 2014, 07:12:14 am »
and zlib.dll must be there or in C:\Windows\System32.
I really don't know what's up with your installation, I'll download 4.8.6 and try it.

zeljko

  • Hero Member
  • *****
  • Posts: 1050
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: QT On Windows Error
« Reply #12 on: May 23, 2014, 05:12:19 pm »
ok. 4.8.6 does not work per default. I have 4.8.4 and that one works with Qt4Pas.dll from official site.
For 4.8.6 you need libgcc_s_dw2-1.dll, libstdc++-6.dll and libwinpthread-1.dll, AND ALSO Qt4Pas.dll have to be rebuilded against mingw 4.8.2. Then it'll work.
Now old Qt4Pas.dll uses mingw10.dll ,so it definitelly cannot work.
If you rebuild Qt4Pas against Qt-4.8.6 and mingw-4.8.2 pls send me dll , I'm to lazy to rebuild it :)

Derit

  • Jr. Member
  • **
  • Posts: 55
Re: QT On Windows Error
« Reply #13 on: May 24, 2014, 03:21:34 am »
Qt interface should be tested with the latest version of Qt not of old version, ok i rebuild ...
Lazarus Trunk/FPC Trunk/2.6.2/2.6.4

Derit

  • Jr. Member
  • **
  • Posts: 55
Re: QT On Windows Error
« Reply #14 on: May 24, 2014, 03:50:27 am »
there is a small problem when building qt dll
"g++ " error:1387 CreateProcess: No Such file or directory
Lazarus Trunk/FPC Trunk/2.6.2/2.6.4