Static Library from Qt UI Project
-
Hi everyone,
Is it possible to make a static library from UI project and add it to the projects which don't have access to Qt resources ? -
Hi
Is it should be - but other app will not be able to use any
resources compiled into lib.
But lib it self can.What is the goal of this ?
Like a Qt powered helper libs for non Qt apps or ?
Note that running Qt inside a lib, its not super trivial as
it needs an event loop. And with a non Qt app using it, the lib
must have one itself to be able to use signal & slots etc. -
@mrjj
Thanks for reply.
I want to add a gui into another program that doesn't have proper tools for creating a gui.
I'm looking for a way to provide an advanced ui inside the program. -
@mrjj
Thanks for reply.
I want to add a gui into another program that doesn't have proper tools for creating a gui.
I'm looking for a way to provide an advanced ui inside the program.@CodeFreaks
If the other program is not a Qt program, embedding QWidgets into it
will not be easy. I mean show QWidgets from the lib would show inside apps
mainwindow. That sort of integration.I think the other way around would make more sense.
Make other app to a lib and link to a Qt program to provide interface. -
@CodeFreaks
If the other program is not a Qt program, embedding QWidgets into it
will not be easy. I mean show QWidgets from the lib would show inside apps
mainwindow. That sort of integration.I think the other way around would make more sense.
Make other app to a lib and link to a Qt program to provide interface.@mrjj said in Static Library from Qt UI Project:
I think the other way around would make more sense.
Make other app to a lib and link to a Qt program to provide interface.thanks for reply unfortunately its not possible because access to the program resources is restricted and there is pour documentation for it.
-
@mrjj said in Static Library from Qt UI Project:
I think the other way around would make more sense.
Make other app to a lib and link to a Qt program to provide interface.thanks for reply unfortunately its not possible because access to the program resources is restricted and there is pour documentation for it.
@CodeFreaks
Ok but how do you plan to have access to the inner data structures of the
other app to be shown in Qt widgets, if you do not have the source code work with ? -
@mrjj said in Static Library from Qt UI Project:
I think the other way around would make more sense.
Make other app to a lib and link to a Qt program to provide interface.thanks for reply unfortunately its not possible because access to the program resources is restricted and there is pour documentation for it.
@CodeFreaks is it possible to configure this "another program that doesn't have proper tools for creating a gui" with a properties/text file right now?
I mean, if this "another program that doesn't have proper tools for creating a gui" is capable of being run like:./mysterious-app -f super_config.cfg
I'd say create a super-duper Qt app with all the bells and whistles to configure the app w/o gui and save all the settings as a config file. Then you can even have a button in the GUI to launch such app w/o gui with the recently created config file.