Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Mingw float-store flag?
Forum Updated to NodeBB v4.3 + New Features

Mingw float-store flag?

Scheduled Pinned Locked Moved Solved General and Desktop
8 Posts 4 Posters 665 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.
  • B Offline
    B Offline
    BD9a
    wrote on last edited by
    #1

    Hey, how can I add "float-store" flag to my project (mingw only)? Or is there any exact flag?

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

      Hi,

      You can use a scope and then QMAKE_CXX_FLAGS.

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

      1 Reply Last reply
      1
      • B Offline
        B Offline
        BD9a
        wrote on last edited by
        #3

        How it should look?

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

          How should what look ?

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

          1 Reply Last reply
          0
          • B Offline
            B Offline
            BD9a
            wrote on last edited by BD9a
            #5

            I should add this to .pro file? Sth like this in .pro file?

            QMAKE_CXXFLAGS += -ffloat-store

            JonBJ 1 Reply Last reply
            0
            • B BD9a

              I should add this to .pro file? Sth like this in .pro file?

              QMAKE_CXXFLAGS += -ffloat-store

              JonBJ Online
              JonBJ Online
              JonB
              wrote on last edited by
              #6

              @BD9a
              Yes.

              1 Reply Last reply
              0
              • B Offline
                B Offline
                BD9a
                wrote on last edited by
                #7

                How can I verify it's working? It's possible to check what flags my program have? Windows ofc

                aha_1980A 1 Reply Last reply
                0
                • B BD9a

                  How can I verify it's working? It's possible to check what flags my program have? Windows ofc

                  aha_1980A Offline
                  aha_1980A Offline
                  aha_1980
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  Hi @BD9a,

                  you can do a full rebuild and look at the compiler flags in Creators Compile Output, or in the terminal if you build from there.

                  Regards

                  Qt has to stay free or it will die.

                  1 Reply Last reply
                  1

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved