Solved visual studio project and Qt interface connection
-
I'm working on a visual studio project with C++ language, and I need a graphic interface to show my results. But I don't know how to ensure the connection between my project and Qt interface, such as that the results of my project goes as an input to the Qt interface.
-
Hi and welcome to devnet,
What is your other project ?
What kind of communication do you have in mind ? -
@SGaist thanks for your reply!
It's an optimisation project to find the best planning for a set of vessels. I want to display the results to make the planning visual and easy to understand.
About the communication, I really don't have a response. I did some research about Qt framework and I'm still looking for: how can I make my results as an input to Qt interface, and if can I develop it in Visual Studio too with the Qt VS TOOLS… I'm a beginner and I really need HELP! THANKS a lot :) -
So is it a command line application ?
-
Sorry for being too late in responding. I don’t need a command line application.
A simple example can explain what I need. I’m working on an optimisation project that returns: the position, the start and end handling time for a set of vessels. These values represent the planning that I need to display. Let us assume that I have one vessel and the model gives as a result, these values: position = 0; start time = 50 hours; end time = 70 hours. What I need to display is something like the photo attached. -
What is not clear is: what is that "visual studio project" ? Is it a library ? Or maybe a command line application ?
-
Okey it's my bad, I wasn't clear enough.
I'm using Visual Studio 2013 in this project. It's a console application in C++. -
Then you can create a new project that will use QProcess to call your console application and get its output.
-
@SGaist thanks a lot for your help.
I'm going to focus my research on this direction.