Double Commander

Official forum
It is currently Wed May 22, 2013 2:50 pm

All times are UTC + 3 hours [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Compile Qt error
PostPosted: Mon Sep 19, 2011 6:28 pm 
Offline

Joined: Wed Apr 14, 2010 11:59 pm
Posts: 16
Hi!

I would like compile doublecmd-qt with branches/0.5 r3917.

I use:
./build.sh all qt

Error mesage:
...
Compiling kasprogressbar.pas
Fatal: Can't find unit qt4 used by KASProgressBar
TExternalToolList.Run Exception: /var/tmp/fst/src/doublecmd-base/components/KASToolBar/kasprogressbar.pas(1,1) Fatal: Can't find unit qt4 used by KASProgressBar
ERROR: tool reported error

I have:
-qt4pas v2.4
(usr/lib/libQt4Pas.so
usr/lib/libQt4Pas.so.5
usr/lib/libQt4Pas.so.5.2
usr/lib/libQt4Pas.so.5.2.4)
-lazarus 0.9.30
-fpc 2.4.4
-qt 4.7.4

Why doesn't it find the qt4?


Top
 Profile  
 
 Post subject: Re: Compile Qt error
PostPosted: Mon Sep 19, 2011 6:55 pm 
Offline
Developer
User avatar

Joined: Wed Apr 01, 2009 9:17 pm
Posts: 761
Location: Poland
You don't have LCLQT binaries. Maybe you need something like
Code:
lazarus-qt
package.

If not, build from source. You need to do inside Lazarus directory:
Code:
$ make lcl LCL_PLATFORM=qt

I don't remember it right, if it doesn't work go to
Code:
$(lazarusDir)/lcl/interfaces/qt
and do
Code:
$ make


Top
 Profile  
 
 Post subject: Re: Compile Qt error
PostPosted: Tue Sep 20, 2011 8:39 pm 
Offline

Joined: Wed Apr 14, 2010 11:59 pm
Posts: 16
Thanks. I build the qt interface:
make lcl LCL_PLATFORM=qt

Now, I have qt directory (with *.o and *.ppu files) in my lazares/lcl/units/i386-linux directory, not just gtk2 and nogui.
Is this the LCLQT binaries?

Won't the qt interface conflict with the gtk2 interface?


Top
 Profile  
 
 Post subject: Re: Compile Qt error
PostPosted: Tue Sep 20, 2011 11:52 pm 
Offline
Developer
User avatar

Joined: Wed Apr 01, 2009 9:17 pm
Posts: 761
Location: Poland
Yes, this is it.
It won't conflict. It will simply allow to build qt version. You will still be able to build gtk2 version.


Top
 Profile  
 
 Post subject: Re: Compile Qt error
PostPosted: Wed Sep 21, 2011 9:45 pm 
Offline

Joined: Wed Apr 14, 2010 11:59 pm
Posts: 16
I have new error message:

Note: environment config file not found - using defaults
NOTE: miscellaneous options file not found - using defaults
TLazPackageGraph.CheckIfPackageNeedsCompilation No state file for ZVDateTimeCtrls 1.3
TLazPackageGraph.SavePackageMainSource Src changed 0 350
TLazPackageGraph.CompilePackage ZVDateTimeCtrls 1.3 file "" does not exist
$08048C85
$08184C6D
$08184609
$0804A0B0
$08048F10
$0804B8CA
$0804D141
$B75F8203
ERROR: invalid Compiler filename
The compiler file for package ZVDateTimeCtrls 1.3 is not a valid executable:
file "" does not exist
lazbuild is non interactive, aborting now.


Top
 Profile  
 
 Post subject: Re: Compile Qt error
PostPosted: Wed Sep 21, 2011 10:01 pm 
Offline
Developer
User avatar

Joined: Wed Apr 01, 2009 9:17 pm
Posts: 761
Location: Poland
Try deleting everything in
Code:
components/ZVDateTimeCtrls/lib
.
If doesn't help do:
Code:
fpc -vv
and attach generated fpcdebug.txt.
And which version of FPC, Lazarus do you use.


Top
 Profile  
 
 Post subject: Re: Compile Qt error
PostPosted: Thu Sep 22, 2011 10:47 am 
Offline

Joined: Wed Apr 14, 2010 11:59 pm
Posts: 16
Resolved. I forgot set up the fpc path.
It' s works, thanks for your help.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 3 hours [ DST ]


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Get Double Commander at SourceForge.net. Fast, secure and Free Open Source software downloads