Warnungen - keine Ahnung woher??
Verfasst: 29. Juni 2011 08:49
Servus Leute,
ich bekomme folgende Warnungen:
Recherchen im Internet haben ergeben, dass ich mit diese Warnungen unterdrücken kann.
Ich würde vielmehr wissen woher diese herrühren, und evtl. so beheben. Bin dankbar für alle Hinweise.
Mfg Huck
ich bekomme folgende Warnungen:
Code: Alles auswählen
1>------ Build started: Project: MyProject, Configuration: Debug Win32 ------
1>Compiling...
1>MyDockWidget.cpp
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtcore\../../src/corelib/codecs/qtextcodec.h(106) : warning C4251: 'QTextCodec::ConverterState::flags' : class 'QFlags<Enum>' needs to have dll-interface to be used by clients of struct 'QTextCodec::ConverterState'
1> with
1> [
1> Enum=QTextCodec::ConversionFlag
1> ]
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtcore\../../src/corelib/concurrent/qtconcurrentexception.h(101) : warning C4251: 'QtConcurrent::internal::ExceptionStore::exceptionHolder' : class 'QtConcurrent::internal::ExceptionHolder' needs to have dll-interface to be used by clients of class 'QtConcurrent::internal::ExceptionStore'
1> c:\qt\qt-win-opensource-src-4.5.0\include\qtcore\../../src/corelib/concurrent/qtconcurrentexception.h(83) : see declaration of 'QtConcurrent::internal::ExceptionHolder'
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtcore\../../src/corelib/concurrent/qtconcurrentresultstore.h(98) : warning C4251: 'QtConcurrent::ResultIteratorBase::mapIterator' : class 'QMap<Key,T>::const_iterator' needs to have dll-interface to be used by clients of class 'QtConcurrent::ResultIteratorBase'
1> with
1> [
1> Key=int,
1> T=QtConcurrent::ResultItem
1> ]
1> c:\qt\qt-win-opensource-src-4.5.0\include\qtcore\../../src/corelib/tools/qmap.h(268) : see declaration of 'QMap<Key,T>::const_iterator'
1> with
1> [
1> Key=int,
1> T=QtConcurrent::ResultItem
1> ]
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtcore\../../src/corelib/concurrent/qtconcurrentresultstore.h(146) : warning C4251: 'QtConcurrent::ResultStoreBase::m_results' : class 'QMap<Key,T>' needs to have dll-interface to be used by clients of class 'QtConcurrent::ResultStoreBase'
1> with
1> [
1> Key=int,
1> T=QtConcurrent::ResultItem
1> ]
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtcore\../../src/corelib/concurrent/qtconcurrentresultstore.h(151) : warning C4251: 'QtConcurrent::ResultStoreBase::pendingResults' : class 'QMap<Key,T>' needs to have dll-interface to be used by clients of class 'QtConcurrent::ResultStoreBase'
1> with
1> [
1> Key=int,
1> T=QtConcurrent::ResultItem
1> ]
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtcore\../../src/corelib/concurrent/qtconcurrentthreadengine.h(155) : warning C4251: 'QtConcurrent::ThreadEngineBase::semaphore' : class 'QtConcurrent::ThreadEngineSemaphore' needs to have dll-interface to be used by clients of class 'QtConcurrent::ThreadEngineBase'
1> c:\qt\qt-win-opensource-src-4.5.0\include\qtcore\../../src/corelib/concurrent/qtconcurrentthreadengine.h(66) : see declaration of 'QtConcurrent::ThreadEngineSemaphore'
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtcore\../../src/corelib/concurrent/qtconcurrentiteratekernel.h(98) : warning C4251: 'QtConcurrent::BlockSizeManager::controlPartElapsed' : class 'QtConcurrent::Median<T>' needs to have dll-interface to be used by clients of class 'QtConcurrent::BlockSizeManager'
1> with
1> [
1> T=double
1> ]
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtcore\../../src/corelib/concurrent/qtconcurrentiteratekernel.h(99) : warning C4251: 'QtConcurrent::BlockSizeManager::userPartElapsed' : class 'QtConcurrent::Median<T>' needs to have dll-interface to be used by clients of class 'QtConcurrent::BlockSizeManager'
1> with
1> [
1> T=double
1> ]
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtcore\../../src/corelib/kernel/qobjectcleanuphandler.h(68) : warning C4251: 'QObjectCleanupHandler::cleanupObjects' : class 'QList<T>' needs to have dll-interface to be used by clients of class 'QObjectCleanupHandler'
1> with
1> [
1> T=QObject *
1> ]
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtgui\../../src/gui/kernel/qevent.h(71) : warning C4251: 'QInputEvent::modState' : class 'QFlags<Enum>' needs to have dll-interface to be used by clients of class 'QInputEvent'
1> with
1> [
1> Enum=Qt::KeyboardModifier
1> ]
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtgui\../../src/gui/kernel/qevent.h(111) : warning C4251: 'QMouseEvent::mouseState' : class 'QFlags<Enum>' needs to have dll-interface to be used by clients of class 'QMouseEvent'
1> with
1> [
1> Enum=Qt::MouseButton
1> ]
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtgui\../../src/gui/kernel/qevent.h(162) : warning C4251: 'QWheelEvent::mouseState' : class 'QFlags<Enum>' needs to have dll-interface to be used by clients of class 'QWheelEvent'
1> with
1> [
1> Enum=Qt::MouseButton
1> ]
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtgui\../../src/gui/kernel/qevent.h(453) : warning C4251: 'QInputMethodEvent::attrs' : class 'QList<T>' needs to have dll-interface to be used by clients of class 'QInputMethodEvent'
1> with
1> [
1> T=QInputMethodEvent::Attribute
1> ]
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtgui\../../src/gui/kernel/qevent.h(508) : warning C4251: 'QDropEvent::mouseState' : class 'QFlags<Enum>' needs to have dll-interface to be used by clients of class 'QDropEvent'
1> with
1> [
1> Enum=Qt::MouseButton
1> ]
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtgui\../../src/gui/kernel/qevent.h(509) : warning C4251: 'QDropEvent::modState' : class 'QFlags<Enum>' needs to have dll-interface to be used by clients of class 'QDropEvent'
1> with
1> [
1> Enum=Qt::KeyboardModifier
1> ]
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtgui\../../src/gui/kernel/qevent.h(510) : warning C4251: 'QDropEvent::act' : class 'QFlags<Enum>' needs to have dll-interface to be used by clients of class 'QDropEvent'
1> with
1> [
1> Enum=Qt::DropAction
1> ]
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtgui\../../src/gui/kernel/qevent.h(514) : warning C4251: 'QDropEvent::fmts' : class 'QList<T>' needs to have dll-interface to be used by clients of class 'QDropEvent'
1> with
1> [
1> T=QByteArray
1> ]
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtgui\../../src/gui/kernel/qevent.h(698) : warning C4251: 'QWindowStateChangeEvent::ostate' : class 'QFlags<Enum>' needs to have dll-interface to be used by clients of class 'QWindowStateChangeEvent'
1> with
1> [
1> Enum=Qt::WindowState
1> ]
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtgui\../../src/gui/itemviews/qitemeditorfactory.h(115) : warning C4251: 'QItemEditorFactory::creatorMap' : class 'QHash<Key,T>' needs to have dll-interface to be used by clients of class 'QItemEditorFactory'
1> with
1> [
1> Key=QVariant::Type,
1> T=QItemEditorCreatorBase *
1> ]
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtgui\../../src/gui/itemviews/qlistwidget.h(167) : warning C4251: 'QListWidgetItem::dummy' : class 'QVector<T>' needs to have dll-interface to be used by clients of class 'QListWidgetItem'
1> with
1> [
1> T=void *
1> ]
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtgui\../../src/gui/itemviews/qlistwidget.h(170) : warning C4251: 'QListWidgetItem::itemFlags' : class 'QFlags<Enum>' needs to have dll-interface to be used by clients of class 'QListWidgetItem'
1> with
1> [
1> Enum=Qt::ItemFlag
1> ]
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtgui\../../src/gui/itemviews/qstringlistmodel.h(82) : warning C4251: 'QStringListModel::lst' : class 'QStringList' needs to have dll-interface to be used by clients of class 'QStringListModel'
1> c:\qt\qt-win-opensource-src-4.5.0\include\qtcore\../../src/corelib/tools/qstringlist.h(66) : see declaration of 'QStringList'
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtgui\../../src/gui/itemviews/qtreewidgetitemiterator.h(110) : warning C4251: 'QTreeWidgetItemIterator::flags' : class 'QFlags<Enum>' needs to have dll-interface to be used by clients of class 'QTreeWidgetItemIterator'
1> with
1> [
1> Enum=QTreeWidgetItemIterator::IteratorFlag
1> ]
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtgui\../../src/gui/itemviews/qtreewidget.h(218) : warning C4251: 'QTreeWidgetItem::values' : class 'QVector<T>' needs to have dll-interface to be used by clients of class 'QTreeWidgetItem'
1> with
1> [
1> T=QVector<QWidgetItemData>
1> ]
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtgui\../../src/gui/itemviews/qtreewidget.h(222) : warning C4251: 'QTreeWidgetItem::children' : class 'QList<T>' needs to have dll-interface to be used by clients of class 'QTreeWidgetItem'
1> with
1> [
1> T=QTreeWidgetItem *
1> ]
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtgui\../../src/gui/itemviews/qtreewidget.h(223) : warning C4251: 'QTreeWidgetItem::itemFlags' : class 'QFlags<Enum>' needs to have dll-interface to be used by clients of class 'QTreeWidgetItem'
1> with
1> [
1> Enum=Qt::ItemFlag
1> ]
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtgui\../../src/gui/painting/qpaintengine.h(236) : warning C4251: 'QPaintEngine::gccaps' : class 'QFlags<Enum>' needs to have dll-interface to be used by clients of class 'QPaintEngine'
1> with
1> [
1> Enum=QPaintEngine::PaintEngineFeature
1> ]
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtgui\../../src/gui/painting/qpaintengine.h(316) : warning C4251: 'QPaintEngineState::dirtyFlags' : class 'QFlags<Enum>' needs to have dll-interface to be used by clients of class 'QPaintEngineState'
1> with
1> [
1> Enum=QPaintEngine::DirtyFlag
1> ]
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtgui\../../src/gui/styles/qmotifstyle.h(110) : warning C4251: 'QMotifStyle::focus' : class 'QPointer<T>' needs to have dll-interface to be used by clients of class 'QMotifStyle'
1> with
1> [
1> T=QFocusFrame
1> ]
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtgui\../../src/gui/text/qtextformat.h(343) : warning C4251: 'QTextFormat::d' : class 'QSharedDataPointer<T>' needs to have dll-interface to be used by clients of class 'QTextFormat'
1> with
1> [
1> T=QTextFormatPrivate
1> ]
1>c:\qt\qt-win-opensource-src-4.5.0\include\qtgui\../../src/gui/text/qtextcursor.h(223) : warning C4251: 'QTextCursor::d' : class 'QSharedDataPointer<T>' needs to have dll-interface to be used by clients of class 'QTextCursor'
1> with
1> [
1> T=QTextCursorPrivate
1> ]
1>Build log was saved at "C:\Eigene Dateien\project\build-vs9\MyProject\MyProject.dir\Debug\BuildLog.htm"
1>MyProject - 0 error(s), 31 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Code: Alles auswählen
#pragma warning(disable: C4251) Ich würde vielmehr wissen woher diese herrühren, und evtl. so beheben. Bin dankbar für alle Hinweise.
Mfg Huck