Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. I can't click debug of the button when i load any file.

I can't click debug of the button when i load any file.

Scheduled Pinned Locked Moved General and Desktop
7 Posts 2 Posters 1.3k Views
  • 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.
  • ? This user is from outside of this forum
    ? This user is from outside of this forum
    Guest
    wrote on last edited by
    #1

    When I load any file Why can't I click debug of the button from Ubuntu SDK for previewing and showing it?

    1 Reply Last reply
    0
    • JeroentjehomeJ Offline
      JeroentjehomeJ Offline
      Jeroentjehome
      wrote on last edited by
      #2

      Hi,
      What do you want?? What file?? Load if from document, what document??
      Your post is not really clear to me. Please explain what you want to achieve, and expect. If you have any code, place a snippet.
      Then we might be able to help.

      Greetz, Jeroen

      1 Reply Last reply
      0
      • ? This user is from outside of this forum
        ? This user is from outside of this forum
        Guest
        wrote on last edited by
        #3

        ...

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

          Hi and welcome to devnet,

          Just a wild guess: opening a cpp file in QtCreator is not the same as opening a project. If you don't have any project, you won't be able to compile anything. If that's not the problem, then as Jeroen@home wrote, you need to provide more information.

          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
          • ? This user is from outside of this forum
            ? This user is from outside of this forum
            Guest
            wrote on last edited by
            #5

            Ah, I see If I have any project will be opened, I will able to click debug of the button that the preview will be shown. Is that right?

            1 Reply Last reply
            0
            • ? This user is from outside of this forum
              ? This user is from outside of this forum
              Guest
              wrote on last edited by
              #6

              Ah, I see If I have any project will be opened, I will able to click debug of the button that the preview will be shown. Is that right?

              1 Reply Last reply
              0
              • JeroentjehomeJ Offline
                JeroentjehomeJ Offline
                Jeroentjehome
                wrote on last edited by
                #7

                I might think SGalst is right. You want to run a project in debug mode? Correct??
                Couple of options,
                Create a new project yourself via file->new.... etc.
                But that is probably not the thing you want.
                Second option is to go the welcome screen (the top icon on the left side of QtCreator) and open an example. KISS is the best way.
                Qt will then open a project with the code of the selected example. The get the example to run you might need to set the compiler, but usually the debug button may be clicked and watch the example run.

                Greetz, Jeroen

                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