Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Add the -g and -Wall options of GCC compiler
Forum Updated to NodeBB v4.3 + New Features

Add the -g and -Wall options of GCC compiler

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 1.1k 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.
  • I Offline
    I Offline
    isaacEnrique
    wrote on last edited by
    #1

    Greetings.

    I want to compile my Qt application with the -g and -Wall options of gcc in order to use Valgrind to make some revisions.

    That said, my specific questions are:

    1. When an application is built in Debug mode, these options (-g, -Wall or both) are set by default or should I set it myself manually?

    2. With Qt Creator, where I can view and set these options compile?

    Thanks in advance for any help and/or suggestions.

    Isaac Pérez
    Programming is understanding.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      t3685
      wrote on last edited by
      #2

      You can set the compiler options in your pro file. You can see the options enabled in the project tab of your project

      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