FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

example code build fails

 
Post new topic   Reply to topic     Forum Index -> QtD
View previous topic :: View next topic  
Author Message
billeth



Joined: 17 May 2010
Posts: 7

PostPosted: Tue May 18, 2010 12:10 pm    Post subject: example code build fails Reply with quote

when I try to build the example code build fails with:

/usr/local/include/d/qt/gui/QApplication.di(3): Error: module Str is in file 'qtd/Str.d' which cannot be read

the file QApplication.di has a line : "import qtd.Str" that if modified to "import d2.qtd.Str" gets rid of this error on build. However, this then leads to other similar errors. As if QApplication.di and other files are incorrectly stating import paths to various files.

again running Ubuntu 10.04, Qt 4.6.2, Qmake 2.8, dmd 2.046 patched....following qtd and example build instructions to the letter....per http://www.dsource.org/projects/qtd/wiki/BuildLinux
Back to top
View user's profile Send private message
maxter



Joined: 17 May 2006
Posts: 34

PostPosted: Thu May 20, 2010 8:58 am    Post subject: Reply with quote

This means that the installation script doesn't correctly create/copy *.di import files from the source files located at qtd-source-dir/d2. For now, just specify the path to the source files (i.e. -Iqtd-source-dir/d2) when you compile the example.
Back to top
View user's profile Send private message
billeth



Joined: 17 May 2010
Posts: 7

PostPosted: Thu May 20, 2010 10:25 am    Post subject: Reply with quote

Thanks Maxtor, that did the trick!! Also, thanks for the work you're doing on Qtd....
Back to top
View user's profile Send private message
maxter



Joined: 17 May 2006
Posts: 34

PostPosted: Thu May 20, 2010 10:32 am    Post subject: Reply with quote

You are welcome. There is still a lot left to do.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> QtD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group