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. May you help me? thanks! About Qt 5

May you help me? thanks! About Qt 5

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 2.4k 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.
  • T Offline
    T Offline
    Tong G.
    wrote on last edited by
    #1

    Hello, My Qt Creater encountered this problem at compile time, could you tell me how to solve?

    您好,我的Qt Creater 在编译时遇到了这个问题,请问应该怎么解决

    _cc1plus.exe:-1: 错误:error: unrecognized command line option "-fno-keep-inline-dllexport"_

                                                             Thank you very much!
    
    1 Reply Last reply
    0
    • L Offline
      L Offline
      lgeyer
      wrote on last edited by
      #2

      Qt 5 requires at least GCC 4.6, "see also":http://qt-project.org/wiki/MinGW.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        Tong G.
        wrote on last edited by
        #3

        Sorry! I did not understand your meaning ,My GCC version is GCC 4.7.2,

        1 Reply Last reply
        0
        • L Offline
          L Offline
          lgeyer
          wrote on last edited by
          #4

          Any GCC >= 4.6 should support -fno-keep-inline-dllexport; maybe your installation doesn't (for whatever reason). Try the suggested installation from mingw-builds.

          As a last resort you can remove the option from mkspecs/win32-g++/qmake.conf.

          1 Reply Last reply
          0
          • C Offline
            C Offline
            ChrisW67
            wrote on last edited by
            #5

            You have a GCC 4.7.2 installed, but that does not mean it is the only GCC available on your system, or that it is the one being used. What version of GCC is being used to compile 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