LINK : fatal error LNK1181: cannot open input file 'QXmlEditWidget.lib'

22 views
Skip to first unread message

Docas Nwanebu

unread,
Oct 19, 2018, 8:26:34 AM10/19/18
to qxmledit-discuss
Hi 

Please assist,I downloaded qxmledit-master from github and am trying to compile QXmlEdit on QTcreator 4.0.1 based on Qt5.6.1 , When I compile it complains with the QXmlEditWidget.lib that it is not found. I searched the project folder and indeed it is not there. I did not change anything yet on the code itself.  

what am I doing wrong? I would appreciate your help.


Regards
Docas

lbell

unread,
Oct 19, 2018, 2:26:07 PM10/19/18
to qxmledit-discuss

Hello, what operating system and compiler are you using? Could you include some log?

I guess you are using Windows and Microsoft compiler given the error code.

I compile under Windows using mingw32 from command line using the batch "compile.sh".

Docas Nwanebu

unread,
Oct 22, 2018, 3:02:34 AM10/22/18
to qxmledit-discuss

Hi Ibell


Thank you for your response, i appreciate a lot. I am using windows 10 and microsoft visual c++  14.0 compiler. I have not tried it with mingw32, I will install it and try with it. (see the log below)



thanks again


Regards

Docas



08:53:34: Running steps for project QXmlEdit...

08:53:34: Configuration unchanged, skipping qmake step.

08:53:34: Starting: "C:\Qt\Qt5.6.1\Tools\QtCreator\bin\jom.exe"

cd src\ && ( if not exist Makefile.QXmlEditWidget C:\Qt\Qt5.6.1\5.6\msvc2015_64\bin\qmake.exe D:\QTXml\qxmledit-master\qxmledit-master\src\QXmlEditWidget.pro -spec win32-msvc2015 -o Makefile.QXmlEditWidget ) && C:\Qt\Qt5.6.1\Tools\QtCreator\bin\jom.exe -f Makefile.QXmlEditWidget

C:\Qt\Qt5.6.1\Tools\QtCreator\bin\jom.exe -f Makefile.QXmlEditWidget.Release

cd src\sessions\ && ( if not exist Makefile.QXmlEditSessions C:\Qt\Qt5.6.1\5.6\msvc2015_64\bin\qmake.exe D:\QTXml\qxmledit-master\qxmledit-master\src\sessions\QXmlEditSessions.pro -spec win32-msvc2015 -o Makefile.QXmlEditSessions ) && C:\Qt\Qt5.6.1\Tools\QtCreator\bin\jom.exe -f Makefile.QXmlEditSessions

C:\Qt\Qt5.6.1\Tools\QtCreator\bin\jom.exe -f Makefile.QXmlEditSessions.Release

cd src\ && ( if not exist Makefile.QXmlEdit C:\Qt\Qt5.6.1\5.6\msvc2015_64\bin\qmake.exe D:\QTXml\qxmledit-master\qxmledit-master\src\QXmlEdit.pro -spec win32-msvc2015 -o Makefile.QXmlEdit ) && C:\Qt\Qt5.6.1\Tools\QtCreator\bin\jom.exe -f Makefile.QXmlEdit

C:\Qt\Qt5.6.1\Tools\QtCreator\bin\jom.exe -f Makefile.QXmlEdit.Release

link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /MANIFEST:embed /OUT:..\build\QXmlEdit.exe @C:\Users\DNwanebu\AppData\Local\Temp\1\QXmlEdit.exe.20568.1078.jom

LINK : fatal error LNK1181: cannot open input file 'QXmlEditWidget.lib'

jom: D:\QTXml\qxmledit-master\build-QXmlEdit-Desktop_Qt_5_6_1_MSVC2015_64bit-Release\src\Makefile.QXmlEdit.Release [..\build\QXmlEdit.exe] Error 1181

jom: D:\QTXml\qxmledit-master\build-QXmlEdit-Desktop_Qt_5_6_1_MSVC2015_64bit-Release\src\Makefile.QXmlEdit [release] Error 2

jom: D:\QTXml\qxmledit-master\build-QXmlEdit-Desktop_Qt_5_6_1_MSVC2015_64bit-Release\Makefile [sub-src-QXmlEdit-pro-make_first-ordered] Error 2

08:53:41: The process "C:\Qt\Qt5.6.1\Tools\QtCreator\bin\jom.exe" exited with code 2.

Error while building/deploying project QXmlEdit (kit: Desktop Qt 5.6.1 MSVC2015 64bit)

When executing step "Make"

08:53:42: Elapsed time: 00:08.

Docas Nwanebu

unread,
Oct 25, 2018, 6:31:09 AM10/25/18
to qxmledit-discuss
Hi Ibell

I wanted to say thank you, it compiled on Qtcreator using mingw just as you advised.


Thanks a lot.


Regards
Docas


On Friday, October 19, 2018 at 8:26:07 PM UTC+2, lbell wrote:
Reply all
Reply to author
Forward
0 new messages