Guys,
I'll post this under a separate thread so it isn't buried. trinity/kdebase/kcontrol/iccconfig/iccconfig.h has the following includes:
#include <dcopobject.h>
#include <libkrandr/libkrandr.h>
#include "iccconfigbase.h"
There is no "iccconfigbase.h" in the iccconfig directory? Is "iccconfigbase.h" supposed to be there? The only iccconfigbase file present is:
-rw-r--r-- 1 david david 6332 Jan 21 17:43 iccconfigbase.ui
Guys,
I'll post this under a separate thread so it isn't buried. trinity/kdebase/kcontrol/iccconfig/iccconfig.h has the following includes:
#include <dcopobject.h>
#include <libkrandr/libkrandr.h>
#include "iccconfigbase.h"
There is no "iccconfigbase.h" in the iccconfig directory? Is "iccconfigbase.h" supposed to be there? The only iccconfigbase file present is:
-rw-r--r-- 1 david david 6332 Jan 21 17:43 iccconfigbase.ui
No. iccconfigbase.h is automatically generated from iccconfigbase.ui using uic-tqt.
Tim
On 02/09/2011 10:02 AM, Timothy Pearson wrote:
Guys,
I'll post this under a separate thread so it isn't buried. trinity/kdebase/kcontrol/iccconfig/iccconfig.h has the following includes:
#include <dcopobject.h>
#include <libkrandr/libkrandr.h>
#include "iccconfigbase.h"
There is no "iccconfigbase.h" in the iccconfig directory? Is "iccconfigbase.h" supposed to be there? The only iccconfigbase file present is:
-rw-r--r-- 1 david david 6332 Jan 21 17:43 iccconfigbase.ui
No. iccconfigbase.h is automatically generated from iccconfigbase.ui using uic-tqt.
Tim
Thanks Tim!,
Darn, I thought I found my kdebase iccconfig.cpp build error :(
If anyone has any idea why I get the build errors with iccconfig.cpp:
<snip> /home/david/tbld/kdebase/kcontrol/iccconfig/iccconfig.cpp: In member function ‘void KICCConfig::load(bool)’: /home/david/tbld/kdebase/kcontrol/iccconfig/iccconfig.cpp:289:38: error: expected type-specifier /home/david/tbld/kdebase/kcontrol/iccconfig/iccconfig.cpp:289:38: error: cannot convert ‘int*’ to ‘KRandrSimpleAPI*’ in initialization /home/david/tbld/kdebase/kcontrol/iccconfig/iccconfig.cpp:289:38: error: expected ‘,’ or ‘;’ <snip>
Please let me know. This is where I'm stuck...
On 02/09/2011 10:02 AM, Timothy Pearson wrote:
Guys,
I'll post this under a separate thread so it isn't buried. trinity/kdebase/kcontrol/iccconfig/iccconfig.h has the following includes:
#include <dcopobject.h>
#include <libkrandr/libkrandr.h>
#include "iccconfigbase.h"
There is no "iccconfigbase.h" in the iccconfig directory? Is "iccconfigbase.h" supposed to be there? The only iccconfigbase file present is:
-rw-r--r-- 1 david david 6332 Jan 21 17:43 iccconfigbase.ui
No. iccconfigbase.h is automatically generated from iccconfigbase.ui using uic-tqt.
Tim
Tim,
Is there a way I can 'manually' generate iccconfigbase.h from iccconfigbase.ui to using tqt to confirm that iccconfigbase.h is actually being generated on Arch Linux? I have no clue how to do this, but if it is possible, I could then confirm whether or not this is the problem.
KRandrSimpleAPI class is defined in libxrandr/libxrandr.h and is included just above the iccconfigbase.h. So if libxrandr/libxrandr.h is OK, that leads me to believe there is something going wrong with the 'automagically' generated iccconfigbase.h
Can I do it?
On 02/09/2011 11:16 PM, David C. Rankin wrote:
No. iccconfigbase.h is automatically generated from iccconfigbase.ui
using uic-tqt.
Tim
Tim,
Is there a way I can 'manually' generate iccconfigbase.h from iccconfigbase.ui to using tqt to confirm that iccconfigbase.h is actually being generated on Arch Linux? I have no clue how to do this, but if it is possible, I could then confirm whether or not this is the problem.
KRandrSimpleAPI class is defined in libxrandr/libxrandr.h and is included just above the iccconfigbase.h. So if libxrandr/libxrandr.h is OK, that leads me to believe there is something going wrong with the 'automagically' generated iccconfigbase.h
Can I ask someone who has built kdebase from the svntree to please post or email me privately a copy of their {trinity-dir}/include/libkrandr files:
ktimerdialog.h libkrandr.h lowlevel_randr.h randr.h
kdebase/iccconfig/iccconfig.h is including:
<libkrandr/libkrandr.h>
which in turn is including
"lowlevel_randr.h"
"randr.h"
I have put my libkrandr directory up here for comparison:
http://www.3111skyline.com/dl/dt/trinity/errors/libkrandr/
Also, I don't know if libxrandr could be the problem. Could there be a difference in the /usr/include/X11/extensions/Xrandr.h file? I have libxrandr 1.3.1-1.
We will get to the bottom of this - hopefully sooner than later. This is such a weird error, I'm somewhat lost. Any help (even guesses) are welcomed :)