creating a global instance
Hi all,
iam new to this forum..
iam quite new to Qt environment
i have a problem in qt, i want to create a global instance which can be accessible to all the rest of the forms in the project.
in detail..
iam developing a GUI for the existing library which is developed by my professor which is written in c++,
i want to create an instance of the class(from existing library) in the main form and that should be accessed in all the forms of the rest of the project.
can any one please give a solution for this....
sarkar
Re: creating a global instance
Maybe singleton pattern will help?
declaring global instance of a class
Hi all,
iam new to this forum..
iam quite new to Qt environment
i have a problem in qt, i want to create a global instance of a class which can be accessible to all the rest of the forms in the project.
can any one please give a solution for this....
sarkar
Re: declaring global instance of a class
Re: declaring global instance of a class
just friendly suggestion :
before start learn qt read c++ fundamental topics;)
Re: declaring global instance of a class
Please, don't ask the same question twice in different forums.
Re: creating a global instance
What is the library type given to you by your professor:
.dll ?
.so ?