Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Access QML Project in a Library in Linux
JackRackham last edited by
Sorry for posting twice the same question, but I wrote too quickly the title of the post and does not correspond to the content of the post. I apologize. If anyone knows how to delete my own post, please tell me.
we are developing the Interface of an application and decided to create a single project in QML where the Interface is designed. This project is compiled as a static library and used afterwards from another application.
We include the (statically linked) library with:
CONFIG(debug, debug|release): LIBS += $$PWD/../build/libOurlLbraryd.a
CONFIG(release, debug|release): LIBS += $$PWD/../build/libOurlLbrary.a
INCLUDEPATH += $$PWD/../build
DEPENDPATH += $$PWD/../build
In the .pro file.
This solution works well under Windows, but in Linux we cannot debug the application in QtCreator. We always become the following error when we start the debugger:
"Could not connect to host. Timeout waiting for reply from server"
We checked that the debugger (apparently) is configured to listen in port 0. We tried to change it to other ports number but we still have the same problem. Could someone please give us a hint of how to solve this?
I cleaned your old thread. Next time, no need for double posting, just edit your original post and change the title.