I can't click debug of the button when i load any file.
-
wrote on 26 Sept 2013, 07:25 last edited by
When I load any file Why can't I click debug of the button from Ubuntu SDK for previewing and showing it?
-
wrote on 26 Sept 2013, 07:28 last edited by
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. -
wrote on 26 Sept 2013, 07:31 last edited by
...
-
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.
-
wrote on 26 Sept 2013, 08:10 last edited by
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?
-
wrote on 26 Sept 2013, 08:11 last edited by
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?
-
wrote on 26 Sept 2013, 08:16 last edited by
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.
5/7