Error compiling last night git.

Andreas Pakulat apaku at gmx.de
Sun Jun 19 11:00:50 BST 2011


On 19.06.11 10:44:31, Leon Pollak wrote:
> Yesterday I donwloded the last version. Compilation fails:
> 
> [ 79%] Building CXX object 
> plugins/patchreview/CMakeFiles/kdevpatchreview.dir/patchreview.o
> In file included from /home/leonp/kdev-
> trunk/kdevplatform/plugins/patchreview/patchreview.h:24,                                                                                                                                              
>                  from /home/leonp/kdev-
> trunk/kdevplatform/plugins/patchreview/patchreview.cpp:15:
> /home/leonp/kdev-
> trunk/kdevplatform/build/plugins/patchreview/ui_patchreview.h: In member 
> function 'void Ui_EditPatch::retranslateUi(QWidget*)':
> /home/leonp/kdev-
> trunk/kdevplatform/build/plugins/patchreview/ui_patchreview.h:244: error: 
> 'class QLineEdit' has no member named 'setPlaceholderText'

Since ui_patchreview.h is generated by uic, it seems like you have a
mixup between the uic-version thats being used and the Qt headers that
are used for compilation. Check the paths with make VERBOSE=1, maybe
your Qt installation was only half-upgraded to 4.7?

Andreas





More information about the KDevelop mailing list