trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: February 2014

Re: [trinity-devel] kmymoney FTBFS - fatal error: qsqldriverplugin.h: No such file

From: "David C. Rankin" <drankinatty@...>
Date: Mon, 17 Feb 2014 20:06:34 -0600
On 02/17/2014 07:53 PM, David C. Rankin wrote:
> On 02/17/2014 07:48 PM, David C. Rankin wrote:
>> Darrell, All,
>>
>>   kmymoney fails right off the bat during build with the following:
>>
>> ==> Building - tde-kmymoney...
>> make  all-recursive
>> make[1]: Entering directory '/build/tde-kmymoney/src/kmymoney'
>> Making all in qt-sqlite3-0.2
>> make[2]: Entering directory '/build/tde-kmymoney/src/kmymoney/qt-sqlite3-0.2'
>> cd sqlite3 && /opt/tqt3/bin/qmake sqlite3.pro "QMAKE=/opt/tqt3/bin/qmake" -o
>> Makefile
>> cd sqlite3 && make -f Makefile
>> make[3]: Entering directory
>> '/build/tde-kmymoney/src/kmymoney/qt-sqlite3-0.2/sqlite3'
>> g++ -c -pipe -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W
>> -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4
>> -D_REENTRANT -fPIC  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED
>> -I/opt/tqt3/mkspecs/default -I. -I/opt/tqt3/include -o smain.o smain.cpp
>> smain.cpp:37:30: fatal error: qsqldriverplugin.h: No such file or directory
>>  #include <qsqldriverplugin.h>
>>                               ^
>> compilation terminated.
>>
>> The only header partially matching that description is:
>>
>> /opt/tqt3/include/ntqsqldriverplugin.h
>>
>> Is that the correct header? If so, what's the 'nt' for?
>>
> 
> I think it is supposed to be:
> 
> /usr/include/tqt/tqsqldriverplugin.h
> 
> looks like a q->tq naming issue....
> 

Worse,

  The issue seems to be in this obscure sqlite source included in kmymoney:

23011-qt-sqlite3-0.2.tar.gz

that explains why the files were missed in the q->tq renaming scheme. I'll see
if I can come up with some sort of patch, but the git tree including an external
.tar.gz source of sqlite3 seems like a really bad idea :)


-- 
David C. Rankin, J.D.,P.E.