View previous topic :: View next topic |
Author |
Message |
billeth
Joined: 17 May 2010 Posts: 7
|
Posted: Tue May 18, 2010 12:10 pm Post subject: example code build fails |
|
|
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 |
|
|
maxter
Joined: 17 May 2006 Posts: 34
|
Posted: Thu May 20, 2010 8:58 am Post subject: |
|
|
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 |
|
|
billeth
Joined: 17 May 2010 Posts: 7
|
Posted: Thu May 20, 2010 10:25 am Post subject: |
|
|
Thanks Maxtor, that did the trick!! Also, thanks for the work you're doing on Qtd.... |
|
Back to top |
|
|
maxter
Joined: 17 May 2006 Posts: 34
|
Posted: Thu May 20, 2010 10:32 am Post subject: |
|
|
You are welcome. There is still a lot left to do. |
|
Back to top |
|
|
|