[Qt] need Help Lazarus+Qt

zeljko zeljko at holobit.net
Thu Nov 10 19:24:49 CET 2011


On Thursday 10 of November 2011 17:54:54 Abraham wrote:
> Hello friends.
> 
> I need your help, when I compile lazarus with LCL suando QT widget I have
> problems.
> 
> when compiling does not give me any errors but when I run the new lazarus
> error beeps and closes completely when using - debug-log gives me this
> result

Ok, so provide some informations:
1.Qt version ?
2.Qt4Pas.dll version ?
3.fpc version ?
4.lazarus version ?

btw. it works fine here, windows 7 qt-4.7.4 dll's and recent Qt4Pas.dll v. 2.1

zeljko

> 
> NOTE: editor options config file not found - using defaults
> WARNING: unable to write code template file "C: \ Documents and Settings \
> Administrator \ Local Settings \ Application Data \ lazarus \ lazarus.dci"
> NOTE: codetools config file not found - using defaults
> WARNING: unable to write indentation file "C: \ Documents and Settings \
> Administrator \ Local Settings \ Application Data \ lazarus \
> laz_indentation.pas"
> TFPCTargetConfigCache.NeedsUpdate changed compiler file "E: \ lazarus \
> fpc-bin \ bin \ i386-win32 \ fpc.exe" FileAge = 1063933991
> 0TFPCTargetConfigCache.Update StoredAge = E: \ lazarus \ fpc-bin \ bin \
> i386-win32 \ fpc . exe CompilerOptions Target = = = ExtraOptions TargetCPU
> = PATH = C: \ Program Files \ NVIDIA Corporation \ PhysX \ Common c: \
> oracle \ ora92 \ bin; C: \ Program Files \ Oracle \ jre \ 1.3.1 \ bin, C: \
> Program Files \ Oracle \ jre \ 1.1.8 \ bin; C: \ Program Files \ ATI Stream
> \ bin \ x86; C: \ WINDOWS \ system32; C: \ WINDOWS, C: \ WINDOWS \ System32
> \ Wbem; C: \ Program Files \ ATI Technologies \ ATI.ACE \ Core-Static; C: \
> WINDOWS de programa \ PostgreSQL \ 9.0 \ lib, C: \ Program Files \
> PostgreSQL \ 9.0 \ include, C: \ Program Files \ PostgreSQL \ 9.0 \ lib, C:
> \ Program Files \ PostgreSQL \ 9.0 \ include, C: \ Qt \ makeRunTool E: \
> lazarus \ fpc-bin \ bin \ i386-win32 \ fpc.exe-iTOTP-Pi386-Twin32RunTool E:
> \ lazarus \ fpc-bin \ bin \ i386-win32 \ fpc.exe-va-Pi386 -Twin32
> compilertest.pasTFPCTargetConfigCache.Update:
> changedTFPCTargetConfigCache.NeedsUpdate have changed compiler file "E: \
> lazarus \ fpc-bin \ bin \ i386-win32 \ fpc.exe" FileAge = 1063933991
> 0TFPCTargetConfigCache.Update StoredAge = E: \ lazarus \ fpc- bin \ bin \
> i386-win32 \ win32 fpc.exe target = i386 CompilerOptions TargetCPU = = =-
> ExtraOptions FrE: \ Lazarus \ Lazarus-src \ components \ codetools \
> fpc.errore.msg PATH = C: \ Program Files \ NVIDIA Corporation \ PhysX \
> Common c: \ oracle \ ora92 \ bin; C: \ Program Files \ Oracle \ jre \ 1.3.1
> \ bin; C: \ Program Files \ Oracle \ jre \ 1.1.8 \ bin; C : \ Program Files
> \ ATI Stream \ bin \ x86; C: \ WINDOWS \ system32; C: \ WINDOWS, C: \
> WINDOWS \ System32 \ Wbem; C: \ Program Files \ ATI Technologies \ ATI.ACE
> \ Core- Static, C: \ WINDOWS de programa \ PostgreSQL \ 9.0 \ lib, C: \
> Program Files \ PostgreSQL \ 9.0 \ include, C: \ Program Files \ PostgreSQL
> \ 9.0 \ lib, C: \ Program Files \ PostgreSQL \ 9.0 \ include, C: \ Qt \
> makeRunTool E: \ lazarus \ fpc-bin \ bin \ i386-win32 \
> fpc.exe-iTOTP-Pi386-Twin32-SPA: \ Lazarus \ Lazarus-src \ components \
> codetools \ fpc.errore.msgRunTool E: \ Lazarus \ fpc-bin \ bin \ i386-win32
> \ fpc.exe-va-Pi386-Twin32-SPA: \ Lazarus \ Lazarus-src \ components \
> codetools \ fpc.errore.msg compilertest.pasTFPCTargetConfigCache.Update:
> Error loading've changedLoadFPCDefinesCaches file C: \ Documents and
> Settings \ Administrator \ Local Settings \ Application Data \ lazarus \
> fpcdefines.xml: Unable to create file "C: \ Documents and Settings \
> Administrator \ Configuration? n local \ Data \ lazarus \ fpcdefines. xml
> "NOTE: help options config file not found - using defaults
> NOTE: unable to read C: \ Documents and Settings \ Administrator \ Local
> Settings \ Application Data \ lazarus \ packagefiles.xml Unable to create
> file "C: \ Documents and Settings \ Administrator \ Configuration? N local
> \ Data \ lazarus \ packagefiles.xml "
> Access violation TApplication.HandleException
>   Stack trace:
>   $ 651094DB
>   $ 652C08F8
>   $ 65299A08
>   $ 652A1B91
>   $ 6520DD36
>   $ 65232B2A
>   $ 1005661A
>   $ 005EA608
>   $ 00549EEF
>   $ 00526C9F
>   $ 004C2A30
>   $ 004C948D
>   $ 004C93DE
>   $ 005B57CF
>   $ 005B5A3C
>   $ 005B3058
>   $ 005B2FCB
> TApplication.HandleException: There Was Another exception DURING showing
> the first exception
>   Stack trace:
>   $ 651086AE
>   $ 652A1C6C
>   $ 652A7D7F
>   $ 65233578
>   $ 10056180
>   $ 005EA389
>   $ 00549EEF
>   $ 00526C9F
>   $ 004C2A30
>   $ 004C948D
>   $ 004C93DE
>   $ 005B5693
>   $ 005B5A3C
>   $ 005B3058
>   $ 005B2FCB
>   $ 005B2F7E
>   $ 00596817
> TIDEProgressWindow.Notification 0
> TIDEProgressWindow.Notification 0
> TIDEProgressWindow.Notification 0
> TIDEProgressWindow.Notification 0
> TIDEProgressWindow.Notification 0
> TIDEProgressWindow.Notification 0
> TIDEProgressWindow.Notification 0
> TIDEProgressWindo
> 
> 
> and when I try running them using GBD lazarus gives me the following
> response.
> 
> E: \ Lazarus \ Lazarus-bin> gdb lazarus.new.exe
> GNU gdb 6.8
> Copyright (C) 2008 Free Software Foundation, Inc.
> License GPLv3 +: GNU GPL version 3 or later <
> http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the Extent permitted by law. Type "show copying"
> and "show warranty" for details.
> This GDB WAS configured as "i686-pc-mingw32" ...
> (Gdb) run
> Starting program: E: \ Lazarus \ Lazarus-bin/lazarus.new.exe
> [New thread 4656.0x16b4]
> [New thread 4656.0x1340]
> warning: Lowest section in C: \ WINDOWS \ system32 \ xpsp2res.dll is. rsrc
> at 00011000
> 
> [New thread 4656.0x1478]
> [New thread 4656.0x4c4]
> warning: HEAP [lazarus.new.exe]:
> warning: HEAP: Free Heap block modified at b222530 b2224f8 After It Was
> freed
> 
> 
> Received signal SIGTRAP Program, Trace / breakpoint trap.
> 0x7c91120f in ntdll! DbgUiConnectToDbg () from C: \ WINDOWS \ system32 \
> ntdll.dll
> (Gdb) bt
> # 0 0x7c91120f in ntdll! DbgUiConnectToDbg ()
>    from C: \ WINDOWS \ system32 \ ntdll.dll
> # 1 0x7c97ee79 in ntdll! RtlpNtMakeTemporaryKey ()
>    from C: \ WINDOWS \ system32 \ ntdll.dll
> # 2 0x7c95b0d5 in ntdll! LdrFindEntryForAddress ()
>    from C: \ WINDOWS \ system32 \ ntdll.dll
> # 3 0x0b2224f8 in?? ()
> # 4 0x00290000 in?? ()
> # 5 0x0b2224d8 in?? ()
> # 6 0x00000000 in?? ()
> (Gdb)
> 
> diculpmen my English, I am using a translator.
> 
> Greetings and thanks for the help.
> -------------------
> Abraham Montaño
> Chiclayo - Perú
> ---------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/qt/attachments/20111110/ff8ac84b/attachment-0002.html>


More information about the Qt mailing list