[Kalzium] [Bug 276227] New: build failure - QString

tropikhajma tropikhajma at gmail.com
Wed Jun 22 02:14:52 CEST 2011


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

           Summary: build failure - QString
           Product: kalzium
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kalzium at kde.org
        ReportedBy: tropikhajma at gmail.com


Version:           unspecified (using KDE 4.6.4) 
OS:                Solaris

build fails with the below message,
the below patch fixes that

kdebuild/packages/BUILD/kdeedu-4.6.4/kalzium/src/kdeeduglossary.h", line 36:
Error: Overloading ambiguity between "QString::QString(const QChar*)" and
"QString::QString(const char*)".
kdebuild/packages/BUILD/kdeedu-4.6.4/kalzium/src/kdeeduglossary.h", line 36:
Error: Cannot use int to initialize const QString.


--- kalzium/src/kdeeduglossary.h.orig    2011-06-22 00:04:03.384213491 +0000
+++ kalzium/src/kdeeduglossary.h    2011-06-22 00:05:53.914435402 +0000
@@ -33,7 +33,7 @@
          * @param url the path of the file to load
          * @param path the path of the pictures
          */
-        explicit Glossary( const KUrl& url, const QString& path = 0 );
+        explicit Glossary( const KUrl& url, const QString& path = QString() );

         /**
          * Creates a new empty glossary


Reproducible: Always

-- 
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 Kalzium mailing list