[Bug 290419] New: latest ktp-contact-list und ktp-send-file fails to build

Robby Engelmann robby.engelmann at igfs-ev.de
Mon Jan 2 17:01:46 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=290419

           Summary: latest ktp-contact-list und ktp-send-file fails to
                    build
           Product: telepathy
           Version: git-latest
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: contactlist
        AssignedTo: kde-telepathy at kde.org
        ReportedBy: robby.engelmann at igfs-ev.de


Version:           git-latest (using Devel) 
OS:                Linux

ktp-contact-list fails to build using latest git version


Reproducible: Always

Steps to Reproduce:
cd ./ktp-contact-list
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
make

Actual Results:  
Error:
/home/***/Download/Prgs/telepathy/0.3git/ktp-contact-list/contact-list-widget.cpp:
In constructor ‘ContactListWidget::ContactListWidget(QWidget*)’:
/home/***/Download/Prgs/telepathy/0.3git/ktp-contact-list/contact-list-widget.cpp:76:38:
error: no matching function for call to
‘AccountsModel::AccountsModel(ContactListWidget* const)’
/home/***/Download/Prgs/telepathy/0.3git/ktp-contact-list/contact-list-widget.cpp:76:38:
note: candidates are:
/usr/local/include/KTp/Models/accounts-model.h:98:14: note:
AccountsModel::AccountsModel(const AccountManagerPtr&, QObject*)
/usr/local/include/KTp/Models/accounts-model.h:98:14: note:   no known
conversion for argument 1 from ‘ContactListWidget* const’ to ‘const
AccountManagerPtr& {aka const Tp::SharedPtr<Tp::AccountManager>&}’
/usr/local/include/KTp/Models/accounts-model.h:41:5: note:
AccountsModel::AccountsModel(const AccountsModel&)
/usr/local/include/KTp/Models/accounts-model.h:41:5: note:   no known
conversion for argument 1 from ‘ContactListWidget* const’ to ‘const
AccountsModel&’
/home/***/Download/Prgs/telepathy/0.3git/ktp-contact-list/contact-list-widget.cpp:
In member function ‘void ContactListWidget::setAccountManager(const
AccountManagerPtr&)’:
/home/***/Download/Prgs/telepathy/0.3git/ktp-contact-list/contact-list-widget.cpp:133:15:
error: ‘class AccountsModel’ has no member named ‘setAccountManager’
make[2]: *** [CMakeFiles/ktp-contactlist.dir/contact-list-widget.o] Error 1
make[1]: *** [CMakeFiles/ktp-contactlist.dir/all] Error 2
make: *** [all] Error 2


same for ktp-send-file:
>make -j 1
[ 40%] Built target ktp-send-file_automoc
[ 40%] Building CXX object CMakeFiles/ktp-send-file.dir/mainwindow.o
/home/***/Download/Prgs/telepathy/0.3git/ktp-send-file/mainwindow.cpp: In
constructor ‘MainWindow::MainWindow(const KUrl&, QWidget*)’:
/home/***/Download/Prgs/telepathy/0.3git/ktp-send-file/mainwindow.cpp:162:45:
error: no matching function for call to
‘AccountsModel::AccountsModel(MainWindow* const)’
/home/***/Download/Prgs/telepathy/0.3git/ktp-send-file/mainwindow.cpp:162:45:
note: candidates are:
/usr/local/include/KTp/Models/accounts-model.h:98:14: note:
AccountsModel::AccountsModel(const AccountManagerPtr&, QObject*)
/usr/local/include/KTp/Models/accounts-model.h:98:14: note:   no known
conversion for argument 1 from ‘MainWindow* const’ to ‘const AccountManagerPtr&
{aka const Tp::SharedPtr<Tp::AccountManager>&}’
/usr/local/include/KTp/Models/accounts-model.h:41:5: note:
AccountsModel::AccountsModel(const AccountsModel&)
/usr/local/include/KTp/Models/accounts-model.h:41:5: note:   no known
conversion for argument 1 from ‘MainWindow* const’ to ‘const AccountsModel&’
/home/***/Download/Prgs/telepathy/0.3git/ktp-send-file/mainwindow.cpp: In
member function ‘void MainWindow::onAccountManagerReady()’:
/home/robby/Download/Prgs/telepathy/0.3git/ktp-send-file/mainwindow.cpp:189:22:
error: ‘class AccountsModel’ has no member named ‘setAccountManager’
make[2]: *** [CMakeFiles/ktp-send-file.dir/mainwindow.o] Error 1
make[1]: *** [CMakeFiles/ktp-send-file.dir/all] Error 2
make: *** [all] Error 2


Expected Results:  
no error, compilation successful

-I am using git source from today
-compiled telepathy-qt from todays git too (uncommented line mentioned here:
https://bugs.freedesktop.org/show_bug.cgi?id=44049)

-environment: Kubuntu 11.10, KDE4.8RC1

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KDE-Telepathy mailing list