Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

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

    Tools
    2
    7
    3104
    Loading More Posts
    • 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
      QtBSt last edited by QtBSt

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • Q
          QtBSt @SGaist last edited by

          @SGaist I updated the info.

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            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 Reply Quote 0
            • Q
              QtBSt @SGaist last edited by

              @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 Reply Quote 0
              • SGaist
                SGaist Lifetime Qt Champion last edited by

                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 Reply Quote 0
                • Q
                  QtBSt @SGaist last edited by QtBSt

                  @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 Reply Quote 0
                  • First post
                    Last post