Hi,

Thanks for reporting these issues. Seem like some distributions (*buntu) added 
some additional stream operator. The dlgaccount one is new from a last week 
commit, and the error was reported. I think I fixed friday, but I might have 
pushed to the wrong branch. The other one are there since a while and 
successfully compile on fedora before, so this is new. I will fix that anyway 
as soon as I get back to our office next week.

Please feel free to comment the actual application, I always like user feedback 
and implement most of them. If you want to further contribute to sflphone KDE, 
let us know it. One way is to fork the repository somewhere we can pull from, 
like github.

----- Original Message -----
From: "Geir Horn" <[email protected]>
To: "jeremy quentin" <[email protected]>, "emmanuel lepage" 
<[email protected]>
Sent: Saturday, June 30, 2012 5:45:14 AM
Subject: SPLPhone: Code changes necessary for the KDE interface

Dear developers,

Thank you for a very good product. Since I am a Fedora and KDE user, I
had to compile the code from scratch. This was straight forward using
your good instructions at
https://projects.savoirfairelinux.com/projects/sflphone/wiki/How_to_build#Build-instructions
Note that the instructions misses the following for compiling the KDE
client:

     I. The ./config.sh line misses the --prefix=/usr parameter
    II. The sudo make install command is missing at the end. It is
        possible to understand this from the Gnome instructions, but in
        order to be complete it is necessary.

However, I got some compile errors that I was able to overcome by the
following changes to three of the files:

      * SortDockCommon.cpp and sflphonEngine.cpp needed a change in the
        list initialisation since C++11 supports initialisation objects
        for which QStringList has no constructor, see
        http://qt-project.org/doc/qt-4.8/qstringlist.html However,
        QStringList supports the stream operator for this use, and for
        instance line 51 in SortDockCommon.cpp had to be changed from
        (*m_pList) = {"Today", "Yesterday",...} to (*m_pList) << "Today"
        << "Yesterday" <<... There were two more such initialisations in
        sflphonEngine.cpp
      * dlgaccounts.cpp attempts in line 149 to stream
        item.data(Qt::DisplayRole) to a kDebug() object. However no
        stream operator exists for this object. I just commented out
        this as it is only qualifying the first string...

I guess I have no possibility to commit changes to the source, so for
this reason I am addressing you as you were mentioned as developers in
the concerned files.

With grateful wishes for a very nice summer!

                        --- Geir

-- 
----------------------------------------------------------------------
   Geir Horn                                SINTEF ICT

   Telephone: +47 93 05 93 35               Forskningsveien 1
   Skype    : GeirHorn                      P.O. Box 124 Blindern
   Email    : [email protected]           0314 Oslo, Norway
----------------------------------------------------------------------



_______________________________________________
SFLphone mailing list
[email protected]
http://lists.savoirfairelinux.net/mailman/listinfo/sflphone

Reply via email to