Forget my last email. I was trying to link with 5.5 libs.
This problem is solved on 5.6 alpha!
On 22/09/2015 14:52, Nuno Santos wrote:
Hi,
On QTBUG-48335 bug report Friedmann Kleint suggests to try with Qt
5.5.1 or 5.6 beta. I decided to give it a try with Qt 5.6 Alpha
I have downloaded Qt 5.6 alpha and compiled it from source statically.
Building the plugin gives me the followin errors. It used to compile
on Qt 5.5.
Does anyone knows how to sort this ones out?
Qt5Guid.lib(qevent.obj) : error LNK2005: "public: virtual __thiscall
QInputMethodEvent::~QInputMethodEvent(void)"
(??1QInputMethodEvent@@UAE@XZ) already defined in
qwindowsd.lib(qwindowsinputcontext.obj)
Creating library debug\drc.lib and object debug\drc.exp
qmldbg_tcpd.lib(qtcpserverconnection.obj) : error LNK2019: unresolved
external symbol "public: void __thiscall
QQmlDebugServer::receiveMessage(class QByteArray const &)"
(?receiveMessage@QQmlDebugServer@@QAEXABVQByteArray@@@Z) referenced in
function "private: void __thiscall
QTcpServerConnection::readyRead(void)"
(?readyRead@QTcpServerConnection@@AAEXXZ)
qwindowsd.lib(qwindowsintegration.obj) : error LNK2001: unresolved
external symbol "public: virtual class QStringList __thiscall
QBasicFontDatabase::fallbacksForFamily(class QString const &,enum
QFont::Style,enum QFont::StyleHint,enum QChar::Script)const "
(?fallbacksForFamily@QBasicFontDatabase@@UBE?AVQStringList@@ABVQString@@W4Style@QFont@@W4StyleHint@5@W4Script@QChar@@@Z)
qwindowsd.lib(qwindowswindow.obj) : error LNK2019: unresolved external
symbol "public: static void __cdecl
QWindowSystemInterface::flushWindowSystemEvents(class QFlags<enum
QEventLoop::ProcessEventsFlag>)"
(?flushWindowSystemEvents@QWindowSystemInterface@@SAXV?$QFlags@W4ProcessEventsFlag@QEventLoop@@@@@Z)
referenced in function "public: bool __thiscall
QWindowsWindow::handleWmPaint(struct HWND__ *,unsigned int,unsigned
int,long)" (?handleWmPaint@QWindowsWindow@@QAE_NPAUHWND__@@IIJ@Z)
qwindowsd.lib(qwindowsscreen.obj) : error LNK2001: unresolved external
symbol "public: static void __cdecl
QWindowSystemInterface::flushWindowSystemEvents(class QFlags<enum
QEventLoop::ProcessEventsFlag>)"
(?flushWindowSystemEvents@QWindowSystemInterface@@SAXV?$QFlags@W4ProcessEventsFlag@QEventLoop@@@@@Z)
qwindowsd.lib(qwindowsfontengine.obj) : error LNK2019: unresolved
external symbol "public: static unsigned int __cdecl
QFontEngine::getTrueTypeGlyphIndex(unsigned char const *,unsigned
int)" (?getTrueTypeGlyphIndex@QFontEngine@@SAIPBEI@Z) referenced in
function "public: virtual unsigned int __thiscall
QWindowsFontEngine::glyphIndex(unsigned int)const "
(?glyphIndex@QWindowsFontEngine@@UBEII@Z)
Qt5Qmld.lib(qqmldebugconnector.obj) : error LNK2019: unresolved
external symbol "struct QStaticPlugin const __cdecl
qt_static_plugin_QQmlDebugServerFactory(void)"
(?qt_static_plugin_QQmlDebugServerFactory@@YA?BUQStaticPlugin@@XZ)
referenced in function "public: __thiscall
StaticQQmlDebugServerFactoryPluginInstance::StaticQQmlDebugServerFactoryPluginInstance(void)"
(??0StaticQQmlDebugServerFactoryPluginInstance@@QAE@XZ)
Qt5Qmld.lib(qqmldebugconnector.obj) : error LNK2019: unresolved
external symbol "struct QStaticPlugin const __cdecl
qt_static_plugin_QQmlInspectorServiceFactory(void)"
(?qt_static_plugin_QQmlInspectorServiceFactory@@YA?BUQStaticPlugin@@XZ) referenced
in function "public: __thiscall
StaticQQmlInspectorServiceFactoryPluginInstance::StaticQQmlInspectorServiceFactoryPluginInstance(void)"
(??0StaticQQmlInspectorServiceFactoryPluginInstance@@QAE@XZ)
Qt5Qmld.lib(qqmldebugconnector.obj) : error LNK2019: unresolved
external symbol "struct QStaticPlugin const __cdecl
qt_static_plugin_QQmlProfilerServiceFactory(void)"
(?qt_static_plugin_QQmlProfilerServiceFactory@@YA?BUQStaticPlugin@@XZ)
referenced in function "public: __thiscall
StaticQQmlProfilerServiceFactoryPluginInstance::StaticQQmlProfilerServiceFactoryPluginInstance(void)"
(??0StaticQQmlProfilerServiceFactoryPluginInstance@@QAE@XZ)
Qt5Qmld.lib(qqmldebugconnector.obj) : error LNK2019: unresolved
external symbol "struct QStaticPlugin const __cdecl
qt_static_plugin_QQmlDebuggerServiceFactory(void)"
(?qt_static_plugin_QQmlDebuggerServiceFactory@@YA?BUQStaticPlugin@@XZ)
referenced in function "public: __thiscall
StaticQQmlDebuggerServiceFactoryPluginInstance::StaticQQmlDebuggerServiceFactoryPluginInstance(void)"
(??0StaticQQmlDebuggerServiceFactoryPluginInstance@@QAE@XZ)
debug\drc.dll : fatal error LNK1120: 8 unresolved externals
Thx,
Nuno
On 17/09/2015 19:44, Nuno Santos wrote:
Thiago,
I tried to describe it the best I could:
https://bugreports.qt.io/browse/QTBUG-48335
Thanks,
Regards,
Nuno
On 17/09/2015 17:24, Thiago Macieira wrote:
On Thursday 17 September 2015 13:42:41 Nuno Santos wrote:
Hi,
I have seen this bug report. The funny thing is that it says it is resolved
on Qt 5.5.0
I'm using Qt 5.5.0
What am I missing?
Some detail.
Apparently the bug fix was not enough for your case. The fix assumed that qtmain
was used, but the main() function fiddled with the arguments.
Your case is that the main application is non-Qt, so it has no qtmain.
Please report that as a new bug with those details so it can be fixed.
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest