[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    [Kde-pim]  [PATCH] Re: knode 4.4.9 fails to build (final)
From:       Erik <esigra () gmail ! com>
Date:       2011-01-02 9:34:04
Message-ID: 4D20468C.1010708 () home ! se
[Download RAW message or body]

2010-12-24 23:24, Erik skrev:
> Steps to reproduce:
> 1. tar jxvf kdepim-4.4.9.tar.bz2
> 2. cd kdepim-4.4.9
> 3. mkdir build
> 4. cd build
> 5. cmake -DKDE4_ENABLE_FINAL=ON ..
> 6. make knode
>
> Actual results:
> In file included from kdepim-4.4.9/knode/kncomposer.cpp:31,
>                  from 
> kdepim-4.4.9/build/knode/knodecommon_final_cpp.cpp:33:
> kdepim-4.4.9/libkdepim/addressesdialog.h: At global scope:
> kdepim-4.4.9/libkdepim/addressesdialog.h:40: fel: referens till "Ui" 
> är tvetydig
> kdepim-4.4.9/build/libkdepim/ui_addresspicker.h:219: fel: candidates 
> are: namespace Ui { }
> kdepim-4.4.9/build/knode/ui_nntpaccountdialog_base.h:235: 
> fel:                 namespace KNode::Ui { }

The attached patch fixes the build error so that knode can be built.

["kdepim-4.4.9-libkdepim-addressesdialog.h-fix_build-1.diff" (text/plain)]

--- kdepim-4.4.9/libkdepim/addressesdialog.h.orig	2011-01-02 10:25:59.941000270 +0100
+++ kdepim-4.4.9/libkdepim/addressesdialog.h	2011-01-02 10:25:59.941000270 +0100
@@ -37,7 +37,7 @@
 #include <QStringList>
 #include <QTreeWidget>
 
-class AddressPickerUI : public QWidget, public Ui::AddressPickerUI
+class AddressPickerUI : public QWidget, public ::Ui::AddressPickerUI
 {
 public:
   AddressPickerUI( QWidget *parent ) : QWidget( parent ) {


_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic