Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator : how to set cmake option -Wno-dev?
QtWS25 Last Chance

Qt Creator : how to set cmake option -Wno-dev?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
7 Posts 2 Posters 3.6k 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.
  • Q Offline
    Q Offline
    QtBSt
    wrote on last edited by QtBSt
    #1
    Qt Creator 4.2.2
    Based on Qt 5.8.0 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)
    From revision 991f5eb6a5
    Built on Apr  3 2017 04:08:48
    
    Qt 5.8.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 5.3.1 20160406 (Red Hat 5.3.1-6)) on "xcb" 
    OS: Ubuntu 16.04.2 LTS [linux version 4.4.0-77-generic]
    

    Release 4.0.1 blog states that over CMAKE_TOOLCHAIN_FILE you can set -Wno-dev.

    But which cmake command exactly does this and what is the syntax for?

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

      Hi,

      Which version of Qt Creator are you using now ? IIRC 4.2 has seen a big overhaul of the CMake support so the place to define that variable might have changed.

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

      Q 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Which version of Qt Creator are you using now ? IIRC 4.2 has seen a big overhaul of the CMake support so the place to define that variable might have changed.

        Q Offline
        Q Offline
        QtBSt
        wrote on last edited by
        #3

        @SGaist I updated the info.

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

          Take a look at the Qt Creator cmake documentation, it's shown there.

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

          Q 1 Reply Last reply
          0
          • SGaistS SGaist

            Take a look at the Qt Creator cmake documentation, it's shown there.

            Q Offline
            Q Offline
            QtBSt
            wrote on last edited by
            #5

            @SGaist said in Qt Creator : how to set cmake option -Wno-dev?:

            Take a look at the Qt Creator cmake documentation, it's shown there.

            Thank you, but could you point concretely where should I refer to concerning my problem ?

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

              In the build configuration

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

              Q 1 Reply Last reply
              0
              • SGaistS SGaist

                In the build configuration

                Q Offline
                Q Offline
                QtBSt
                wrote on last edited by QtBSt
                #7

                @SGaist said in Qt Creator : how to set cmake option -Wno-dev?:

                In the build configuration

                I was hoping to give me a concrete example, since I already know this and have tried different options, which didnt work ...

                But for all others, there is CMAKE_SUPPRESS_DEVELOPER_WARNINGS option in the Build Settings.

                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