A
A
Antony2015-03-25 17:21:59
Programming
Antony, 2015-03-25 17:21:59

Is it possible to shove a self-made widget into a library (not a designer plugin)?

Actually, I have a need to put the widget into the library. At the same time, I don’t need to add it to the designer (and I don’t need to make it a plugin for QtCreator at all), but simply make it in the form of a .dll or .so that is linked to the project. With regard to this task, it does not really matter whether the library is statically or dynamically linked.
I tried to do it just as a library (template = lib), but when compiling, the linker does not find the widget constructor.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Armenian Radio, 2015-03-25
@RiseOfDeath

This is implemented by means of QtPlugins - these are not plugins for QtCreator, this is exactly a tool for dynamically gluing a Qt program.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question