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

List:       amarok-devel
Subject:    [Amarok] ac6fff9 Fix QtScript bindings check, now works with all di
From:       Mark Kretschmann <kretschmann () kde ! org>
Date:       2010-04-17 21:15:03
Message-ID: 201004172115.o3HLF3Aj028134 () kore ! kollide ! net
[Download RAW message or body]

commit ac6fff90596e1f207dc7ae6e7c2b0f024b60c340
Author: Mark Kretschmann <kretschmann@kde.org>
Date:   Sat Apr 17 23:27:42 2010 +0200

    Fix QtScript bindings check, now works with all distros.
    
    Thanks to Martin Blumenstingl <darklight.xdarklight@googlemail.com>
    for the patch :)
    
    Everyone please test this with whatever distro you have. I verified
    it here with Arch Linux.
    
    CCMAIL: amarok-devel@kde.org

diff --git a/cmake/modules/bindingstest/QtScriptBindingsTest.cpp \
b/cmake/modules/bindingstest/QtScriptBindingsTest.cpp index b7b4390..609bb36 100644
--- a/cmake/modules/bindingstest/QtScriptBindingsTest.cpp
+++ b/cmake/modules/bindingstest/QtScriptBindingsTest.cpp
@@ -16,7 +16,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#include <QtCore/QCoreApplication>
+#include <QtGui/QApplication>
 #include <QtScript/QScriptEngine>
 #include <QtCore/QStringList>
 #include <QtCore/QDebug>
@@ -25,7 +25,7 @@
 
 int main(int argc, char **argv)
 {
-    QCoreApplication app( argc, argv );
+    QApplication app( argc, argv );
 
     QStringList allowedBindings;
     allowedBindings << "qt.core" << "qt.gui" << "qt.sql" << "qt.xml" << "qt.uitools" \
<< "qt.network"; _______________________________________________
Amarok-devel mailing list
Amarok-devel@kde.org
https://mail.kde.org/mailman/listinfo/amarok-devel


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

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