Access QML Project in a Library in Linux
-
Hi,
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.aINCLUDEPATH += $$PWD/../build
DEPENDPATH += $$PWD/../buildIn 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?
Best regards,
Juan.
-
Hi,
I cleaned your old thread. Next time, no need for double posting, just edit your original post and change the title.