-
Notifications
You must be signed in to change notification settings - Fork 341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using qmqtt under windows #17
Comments
yes, qmtt has the issue on windows, I have no idea still... |
I think it is releated to the global.h file, and the export import Den onsdag den 4. februar 2015 skrev Ery Lee [email protected]:
MVH. . |
Adding |
Hi, i need this library with Windows but I had the same issue. So, still no solutions ? |
Sorry for being impatient, but I heavily rely on running qmqtt on Windows. So is there any improvement? |
I can Send you à git link Den tirsdag den 20. oktober 2015 skrev Antonio Grieco <
MVH. . |
Is there a particular reason to close the issue @wuming123057 ? For me it's still not linkable under Windows :/ |
@toni1991, please discuss the issue with @wuming123057. He said this issue had been fixed:) |
@toni1991 Is the following issue? |
@wuming123057 Sorry was my fault. It's working great! Thank you very much! |
@wguynes |
If I have fixed all existing problems with the Windows platform then, yes, this issue should be closed. |
Please give me a library for windows |
We do not provide any binary distributions. The build works also on Windows, just add the |
I still can not compile this. Not under Windows, nor under Linux. Always produces an error when compiling. In particular, the absence of the qmqtt.h file . How can I get a library file or a header file, to just connect it to my project. |
@Pavlines Hard to say. Do you have a chance to attach us a full build log? I am always building it in Qt Creator and there it works like a charm. @emqtt/qmqtt-team Has anyone an idea what this could be (absence of qmqtt.h)? |
Programm C:\Users\Pavlines\Desktop\build-qmqtt-Desktop_Qt_5_9_0_MinGW_32bit-Release\examples\mqtt\client\release\qmqtt_example.exe absent. |
13:10:03: Выполняются этапы для проекта qmqtt... |
Aha, this is Qt 5.9 with MinGW 32 on Windows. For sure you have already tried to clean up and rebuild from scratch? But in your log I do not see the error message about the missing Personally I use Qt 5.6 where the build works without issues. |
The project is compiled. But nothing is created except the lib-file. Also does not create qmqtt.h in relise folder. I'm trying to compile a emqtt/qmqtt-client project. But I do not know how to force it to compile a emqtt/emqtt project into a library with an "qmqtt.h" file. To connect it to the emqtt/qmqtt-client project. |
I have seen only now that this is a known issue #89 (I didn't remember), so please let us follow-up it there. As a workaround you could try building it with Qt 5.6 or 5.7 where it works. |
Hi, 15:39:08: Running steps for project qmqtt... |
That's odd. With Qt 5.6 with MSVC2013 32 bit I get this if I am doing a qmake: 14:54:08: Running steps for project qmqtt... jom 1.1.2 - empower your cores
= c:/Users/MatthiasW/Git/qmqtt |
Still have issue on Windows 10 64bit / Based on Qt 5.11.1. |
Fixed it. It need to install perl for windows. |
Hi I have a hard time using the qmqtt under windows, work fine on MAC and linux, but on windows I get strange linker errors.
I can compile it into a lib, but then when using it I get linker errors.
If I just try to use it in a normale way, I also get errors.
A small number of the errors from the qml-qmqtt project
Makefile.Debug:125: recipe for target 'debug\mqtt.exe' failed
mingw32-make[1]: Leaving directory 'C:/Users/$hschack/Documents/qml-qmqtt'
makefile:34: recipe for target 'debug' failed
C:\Users$hschack\Documents\qml-qmqtt/debug/moc_qmqtt_client.cpp:211: undefined reference to
_imp___ZN5QMQTT6Client12handlePubackEht' ./debug\moc_qmqtt_client.o: In function
ZNK5QMQTT6Client10metaObjectEv':C:\Users$hschack\Documents\qml-qmqtt/debug/moc_qmqtt_client.cpp:311: undefined reference to
_imp___ZN5QMQTT6Client16staticMetaObjectE' ./debug\moc_qmqtt_client.o: In function
ZN5QMQTT6Client11qt_metacallEN11QMetaObject4CallEiPPv':C:\Users$hschack\Documents\qml-qmqtt/debug/moc_qmqtt_client.cpp:340: undefined reference to
_imp___ZNK5QMQTT6Client4portEv' C:\Users\$hschack\Documents\qml-qmqtt/debug/moc_qmqtt_client.cpp:341: undefined reference to
_imp___ZNK5QMQTT6Client4hostEv'C:\Users$hschack\Documents\qml-qmqtt/debug/moc_qmqtt_client.cpp:342: undefined reference to
_imp___ZNK5QMQTT6Client8clientIdEv' C:\Users\$hschack\Documents\qml-qmqtt/debug/moc_qmqtt_client.cpp:343: undefined reference to
_imp___ZNK5QMQTT6Client8usernameEv'C:\Users$hschack\Documents\qml-qmqtt/debug/moc_qmqtt_client.cpp:344: undefined reference to
_imp___ZNK5QMQTT6Client8passwordEv' C:\Users\$hschack\Documents\qml-qmqtt/debug/moc_qmqtt_client.cpp:345: undefined reference to
_imp___ZN5QMQTT6Client9keepaliveEv'C:\Users$hschack\Documents\qml-qmqtt/debug/moc_qmqtt_client.cpp:346: undefined reference to
_imp___ZNK5QMQTT6Client13autoReconnectEv' C:\Users\$hschack\Documents\qml-qmqtt/debug/moc_qmqtt_client.cpp:353: undefined reference to
_imp___ZN5QMQTT6Client7setPortEj'C:\Users$hschack\Documents\qml-qmqtt/debug/moc_qmqtt_client.cpp:354: undefined reference to
_imp___ZN5QMQTT6Client7setHostERK7QString' C:\Users\$hschack\Documents\qml-qmqtt/debug/moc_qmqtt_client.cpp:355: undefined reference to
_imp___ZN5QMQTT6Client11setClientIdERK7QString'C:\Users$hschack\Documents\qml-qmqtt/debug/moc_qmqtt_client.cpp:356: undefined reference to
_imp___ZN5QMQTT6Client11setUsernameERK7QString' C:\Users\$hschack\Documents\qml-qmqtt/debug/moc_qmqtt_client.cpp:357: undefined reference to
_imp___ZN5QMQTT6Client11setPasswordERK7QString'C:\Users$hschack\Documents\qml-qmqtt/debug/moc_qmqtt_client.cpp:358: undefined reference to
_imp___ZN5QMQTT6Client12setKeepAliveEi' C:\Users\$hschack\Documents\qml-qmqtt/debug/moc_qmqtt_client.cpp:359: undefined reference to
_imp___ZN5QMQTT6Client16setAutoReconnectEb'The text was updated successfully, but these errors were encountered: