1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-29 10:39:47 +01:00

Fix or silence warnings in pythonqt.

This commit is contained in:
John Maguire 2011-05-31 16:54:52 +00:00
parent 69cfd03248
commit f071a68405
4 changed files with 4 additions and 4 deletions

View File

@ -81,6 +81,7 @@ add_library(pythonqt ${TYPE}
${SOURCES}
${MOC}
)
set_target_properties(pythonqt PROPERTIES COMPILE_FLAGS "-Wno-write-strings -Wno-format-nonliteral -Wno-format-security -Wno-builtin-macro-redefined")
target_link_libraries(pythonqt
${PYTHON_LIBRARIES}

View File

@ -42,8 +42,8 @@
*/
//----------------------------------------------------------------------------------
#include "PythonQtSystem.h"
#include "PythonQtInstanceWrapper.h"
#include "PythonQtSystem.h"
#include "PythonQtClassWrapper.h"
#include "PythonQtSlot.h"
#include "PythonQtObjectPtr.h"

View File

@ -33,12 +33,12 @@
*
*/
#include "PythonQt.h"
#include <QMetaObject>
#include <QMetaMethod>
#include <QHash>
#include <QByteArray>
#include <QList>
#include "PythonQt.h"
class PythonQtSlotInfo;

View File

@ -39,8 +39,8 @@
*/
//----------------------------------------------------------------------------------
#include "PythonQtMethodInfo.h"
#include "PythonQtClassInfo.h"
#include "PythonQtMethodInfo.h"
#include <iostream>
QHash<QByteArray, PythonQtMethodInfo*> PythonQtMethodInfo::_cachedSignatures;
@ -350,4 +350,3 @@ QByteArray PythonQtSlotInfo::slotName()
sig = sig.left(idx);
return sig;
}