Cannot open input file qxmpp0.lib
-
Hi i compiled fine xmpp but when i run take me this error? Someone know why?
-
Hi,
Base on the error message: because you're not telling the linker where to find it ?
-
i put library LIBS += -lqxmpp0 so i dont know why take this error
-
Where is that library located ?
-
C:\Users\moh\Desktop\build-qxmpp-Unnamed_c09214-Release\src
-
You're missing
LIBS += -LC:/Users/moh/Desktop/build-qxmpp-Unnamed_c09214-Release/src
in your .pro file. -
i tried this but seems not to work . i get again the same: :-1: error: LNK1181: cannot open input file 'qxmpp0.lib' maybe i need to include of other way??
-
What is the complete name of the .lib file you got when compiling qxmpp ?
-
qxmpp0.lib
-
Are there any strange permission set on that file ?
-
Just as a test, can you try replacing
LIBS += -lqxmpp0 -LC:/Users/moh/Desktop/build-qxmpp-Unnamed_c09214-Release/src
withLIBS += "C:/Users/moh/Desktop/build-qxmpp-Unnamed_c09214-Release/src/qxmpp0.lib"
and see if that works -
permissions of my file : https://i.imgsafe.org/1b368ab092.png I tried many ways and the ways of ronin the strange is that it didnt work .
-
What are you using to build your app? if you use Qt Creator you should explicitly call Build->run qmake every time you make a change in your pro file otherwise it will be ignored
-
Ok thanks solved you are right
6/15