Message: previous - next
Month: July 2015

Re: [trinity-devel] [Trinity-devel] Build enviroment for 3rd party programs

From: "Timothy Pearson" <kb9vqf@...>
Date: Tue, 21 Jul 2015 18:45:25 -0500
> On Monday 20 July 2015 11:48:33 pm Timothy Pearson wrote:
>> > Hello,
>> >
>> > TDevelop has helped me set up a /Development directory in my home. I
>> put
>> > the
>> > qmake and tde.h header file in the directory. I still get errors, so
>> some
>> > advice to get one set up will be appreciated.
>> >
>> > Thanks
>> If you can post the error messages it would give us a better idea of
>> what
>> is failing where and how to fix it.
> mainwindow.cpp:1:23: fatal error: tdelocale.h: No such file or directory
> This first message was solved by configuring TDevelop to use /Development
> as
> the default directory. I thought it did when I already set it up. I had
> already placed tdelocale.h in the header directory and placed it in
> the /Development root. So that works.
> mainwidget.cpp:2:21: fatal error: qlayout.h: No such file or directory
> Now this one I can't find the header file. So if you know where it's at,
> that
> would help.

You need to change that to include 'ntqlayout.h' instead of 'qlayout.h'. 
mainwidget.cpp may be generated from a .ui file (likely mainwidget.ui), in
which case the change needs to be made to the .ui file instead of the .cpp

Once you have an application ported, let us know -- we might be willing to
officially support it!