Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Showcase
  4. visual studio project and Qt interface connection
Forum Updated to NodeBB v4.3 + New Features

visual studio project and Qt interface connection

Scheduled Pinned Locked Moved Solved Showcase
9 Posts 3 Posters 2.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Afaf
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      What is your other project ?
      What kind of communication do you have in mind ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      A 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi and welcome to devnet,

        What is your other project ?
        What kind of communication do you have in mind ?

        A Offline
        A Offline
        Afaf
        wrote on last edited by
        #3

        @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 :)

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          So is it a command line application ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Afaf
            wrote on last edited by
            #5

            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.0_1542881170099_Capture.PNG

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              What is not clear is: what is that "visual studio project" ? Is it a library ? Or maybe a command line application ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              1
              • A Offline
                A Offline
                Afaf
                wrote on last edited by
                #7

                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++.

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  Then you can create a new project that will use QProcess to call your console application and get its output.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  A 1 Reply Last reply
                  1
                  • SGaistS SGaist

                    Then you can create a new project that will use QProcess to call your console application and get its output.

                    A Offline
                    A Offline
                    Afaf
                    wrote on last edited by
                    #9

                    @SGaist thanks a lot for your help.
                    I'm going to focus my research on this direction.

                    1 Reply Last reply
                    0

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved