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



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



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



  • ...


  • Lifetime Qt Champion

    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.



  • 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?



  • 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?



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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.