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:
parent
69cfd03248
commit
f071a68405
1
3rdparty/pythonqt/CMakeLists.txt
vendored
1
3rdparty/pythonqt/CMakeLists.txt
vendored
@ -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}
|
||||
|
2
3rdparty/pythonqt/src/PythonQt.h
vendored
2
3rdparty/pythonqt/src/PythonQt.h
vendored
@ -42,8 +42,8 @@
|
||||
*/
|
||||
//----------------------------------------------------------------------------------
|
||||
|
||||
#include "PythonQtSystem.h"
|
||||
#include "PythonQtInstanceWrapper.h"
|
||||
#include "PythonQtSystem.h"
|
||||
#include "PythonQtClassWrapper.h"
|
||||
#include "PythonQtSlot.h"
|
||||
#include "PythonQtObjectPtr.h"
|
||||
|
2
3rdparty/pythonqt/src/PythonQtClassInfo.h
vendored
2
3rdparty/pythonqt/src/PythonQtClassInfo.h
vendored
@ -33,12 +33,12 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "PythonQt.h"
|
||||
#include <QMetaObject>
|
||||
#include <QMetaMethod>
|
||||
#include <QHash>
|
||||
#include <QByteArray>
|
||||
#include <QList>
|
||||
#include "PythonQt.h"
|
||||
|
||||
class PythonQtSlotInfo;
|
||||
|
||||
|
3
3rdparty/pythonqt/src/PythonQtMethodInfo.cpp
vendored
3
3rdparty/pythonqt/src/PythonQtMethodInfo.cpp
vendored
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user