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. Error: Symbolic links not supported: disabling -L.
Forum Update on Monday, May 27th 2025

Error: Symbolic links not supported: disabling -L.

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 4 Posters 2.3k 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.
  • A Offline
    A Offline
    Andy35
    wrote on last edited by
    #1

    Hi,
    Im a real noob, just installed the latest version of qt on Window 10, tried a fresh clean new project, as well as the examples and got this error right into my face:

    Symbolic links not supported: disabling -L.
    this linker was not configured to use sysroots
    linker command failed with exit code 1 (use -v to see invocation)
    

    I basically know nothing yet about qt and would really appreciate your help to get started.

    Thanks!

    aha_1980A 1 Reply Last reply
    0
    • A Andy35

      Hi,
      Im a real noob, just installed the latest version of qt on Window 10, tried a fresh clean new project, as well as the examples and got this error right into my face:

      Symbolic links not supported: disabling -L.
      this linker was not configured to use sysroots
      linker command failed with exit code 1 (use -v to see invocation)
      

      I basically know nothing yet about qt and would really appreciate your help to get started.

      Thanks!

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

      Hi @Andy35,

      please post the complete text of your compile output pane.

      Regards

      Qt has to stay free or it will die.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Andy35
        wrote on last edited by
        #3

        I hope, that is what you needed

        mingw32-make[1]: Leaving directory 'D:/qt/build-untitled-Desktop_Qt_5_12_3_MSVC2017_64bit-Debug'
        Makefile:38: recipe for target 'debug' failed
        mingw32-make[1]: *** [debug/untitled.exe] Error 1
        mingw32-make: *** [debug] Error 2
        05:53:57: The process "C:\TDM-GCC-64\bin\mingw32-make.exe" exited with code 2.
        Error while building/deploying project untitled (kit: Desktop Qt 5.12.3 MSVC2017 64bit)
        When executing step "Make"
        05:53:57: Elapsed time: 00:06.
        
        aha_1980A 1 Reply Last reply
        0
        • A Andy35

          I hope, that is what you needed

          mingw32-make[1]: Leaving directory 'D:/qt/build-untitled-Desktop_Qt_5_12_3_MSVC2017_64bit-Debug'
          Makefile:38: recipe for target 'debug' failed
          mingw32-make[1]: *** [debug/untitled.exe] Error 1
          mingw32-make: *** [debug] Error 2
          05:53:57: The process "C:\TDM-GCC-64\bin\mingw32-make.exe" exited with code 2.
          Error while building/deploying project untitled (kit: Desktop Qt 5.12.3 MSVC2017 64bit)
          When executing step "Make"
          05:53:57: Elapsed time: 00:06.
          
          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi @Andy35,

          yeah thats (at least a part of) the log.

          I can already see that you have likely a mixture of MSVC and MinGW compiler.

          So my question: which compiler do you want to use?

          Qt has to stay free or it will die.

          1 Reply Last reply
          2
          • A Offline
            A Offline
            Andy35
            wrote on last edited by
            #5

            Sorry, didnt see I could scroll up in the compiler log

            05:53:51: Running steps for project untitled...
            05:53:51: Starting: "D:\qt\5.12.3\msvc2017_64\bin\qmake.exe" D:\qt\untitled\untitled.pro -spec win32-clang-g++ "CONFIG+=debug" "CONFIG+=qml_debug" "QMAKE_CFLAGS+=--sysroot="\""C:/TDM-GCC-64"\""" "QMAKE_CXXFLAGS+=--sysroot="\""C:/TDM-GCC-64"\""" "QMAKE_LFLAGS+=--sysroot="\""C:/TDM-GCC-64"\""" "QMAKE_CFLAGS+=--target=x86_64-w64-mingw32" "QMAKE_CXXFLAGS+=--target=x86_64-w64-mingw32" "QMAKE_LFLAGS+=--target=x86_64-w64-mingw32"
            05:53:52: The process "D:\qt\5.12.3\msvc2017_64\bin\qmake.exe" exited normally.
            05:53:52: Starting: "C:\TDM-GCC-64\bin\mingw32-make.exe" -f D:/qt/build-untitled-Desktop_Qt_5_12_3_MSVC2017_64bit-Debug/Makefile qmake_all
            mingw32-make: Nothing to be done for 'qmake_all'.
            05:53:52: The process "C:\TDM-GCC-64\bin\mingw32-make.exe" exited normally.
            05:53:52: Starting: "C:\TDM-GCC-64\bin\mingw32-make.exe" 
            mingw32-make: Symbolic links not supported: disabling -L.
            C:/TDM-GCC-64/bin/mingw32-make -f Makefile.Debug
            mingw32-make[1]: Entering directory 'D:/qt/build-untitled-Desktop_Qt_5_12_3_MSVC2017_64bit-Debug'
            clang++ --sysroot=C:/TDM-GCC-64 --target=x86_64-w64-mingw32 -Wl,-subsystem,windows -mthreads -o debug\untitled.exe debug/main.o debug/mainwindow.o debug/moc_mainwindow.o  -LD:\qt\5.12.3\msvc2017_64\lib D:\qt\5.12.3\msvc2017_64\lib\Qt5Widgetsd.lib D:\qt\5.12.3\msvc2017_64\lib\Qt5Guid.lib D:\qt\5.12.3\msvc2017_64\lib\Qt5Cored.lib  -lmingw32 D:\qt\5.12.3\msvc2017_64\lib\qtmaind.lib -LC:\openssl\lib -LC:\Utils\my_sql\mysql-5.6.11-winx64\lib -LC:\Utils\postgresql\pgsql\lib -lshell32 
            C:\TDM-GCC-64\bin\ld.exe: this linker was not configured to use sysroots
            clang++: error: linker command failed with exit code 1 (use -v to see invocation)
            Makefile.Debug:69: recipe for target 'debug/untitled.exe' failed
            mingw32-make[1]: Leaving directory 'D:/qt/build-untitled-Desktop_Qt_5_12_3_MSVC2017_64bit-Debug'
            Makefile:38: recipe for target 'debug' failed
            mingw32-make[1]: *** [debug/untitled.exe] Error 1
            mingw32-make: *** [debug] Error 2
            05:53:57: The process "C:\TDM-GCC-64\bin\mingw32-make.exe" exited with code 2.
            Error while building/deploying project untitled (kit: Desktop Qt 5.12.3 MSVC2017 64bit)
            When executing step "Make"
            05:53:57: Elapsed time: 00:06.
            

            I prefer OpenSource and FLOSS, so I guess its MinGW for me.

            jsulmJ aha_1980A 2 Replies Last reply
            1
            • A Andy35

              Sorry, didnt see I could scroll up in the compiler log

              05:53:51: Running steps for project untitled...
              05:53:51: Starting: "D:\qt\5.12.3\msvc2017_64\bin\qmake.exe" D:\qt\untitled\untitled.pro -spec win32-clang-g++ "CONFIG+=debug" "CONFIG+=qml_debug" "QMAKE_CFLAGS+=--sysroot="\""C:/TDM-GCC-64"\""" "QMAKE_CXXFLAGS+=--sysroot="\""C:/TDM-GCC-64"\""" "QMAKE_LFLAGS+=--sysroot="\""C:/TDM-GCC-64"\""" "QMAKE_CFLAGS+=--target=x86_64-w64-mingw32" "QMAKE_CXXFLAGS+=--target=x86_64-w64-mingw32" "QMAKE_LFLAGS+=--target=x86_64-w64-mingw32"
              05:53:52: The process "D:\qt\5.12.3\msvc2017_64\bin\qmake.exe" exited normally.
              05:53:52: Starting: "C:\TDM-GCC-64\bin\mingw32-make.exe" -f D:/qt/build-untitled-Desktop_Qt_5_12_3_MSVC2017_64bit-Debug/Makefile qmake_all
              mingw32-make: Nothing to be done for 'qmake_all'.
              05:53:52: The process "C:\TDM-GCC-64\bin\mingw32-make.exe" exited normally.
              05:53:52: Starting: "C:\TDM-GCC-64\bin\mingw32-make.exe" 
              mingw32-make: Symbolic links not supported: disabling -L.
              C:/TDM-GCC-64/bin/mingw32-make -f Makefile.Debug
              mingw32-make[1]: Entering directory 'D:/qt/build-untitled-Desktop_Qt_5_12_3_MSVC2017_64bit-Debug'
              clang++ --sysroot=C:/TDM-GCC-64 --target=x86_64-w64-mingw32 -Wl,-subsystem,windows -mthreads -o debug\untitled.exe debug/main.o debug/mainwindow.o debug/moc_mainwindow.o  -LD:\qt\5.12.3\msvc2017_64\lib D:\qt\5.12.3\msvc2017_64\lib\Qt5Widgetsd.lib D:\qt\5.12.3\msvc2017_64\lib\Qt5Guid.lib D:\qt\5.12.3\msvc2017_64\lib\Qt5Cored.lib  -lmingw32 D:\qt\5.12.3\msvc2017_64\lib\qtmaind.lib -LC:\openssl\lib -LC:\Utils\my_sql\mysql-5.6.11-winx64\lib -LC:\Utils\postgresql\pgsql\lib -lshell32 
              C:\TDM-GCC-64\bin\ld.exe: this linker was not configured to use sysroots
              clang++: error: linker command failed with exit code 1 (use -v to see invocation)
              Makefile.Debug:69: recipe for target 'debug/untitled.exe' failed
              mingw32-make[1]: Leaving directory 'D:/qt/build-untitled-Desktop_Qt_5_12_3_MSVC2017_64bit-Debug'
              Makefile:38: recipe for target 'debug' failed
              mingw32-make[1]: *** [debug/untitled.exe] Error 1
              mingw32-make: *** [debug] Error 2
              05:53:57: The process "C:\TDM-GCC-64\bin\mingw32-make.exe" exited with code 2.
              Error while building/deploying project untitled (kit: Desktop Qt 5.12.3 MSVC2017 64bit)
              When executing step "Make"
              05:53:57: Elapsed time: 00:06.
              

              I prefer OpenSource and FLOSS, so I guess its MinGW for me.

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @Andy35 said in Error: Symbolic links not supported: disabling -L.:

              I prefer OpenSource and FLOSS, so I guess its MinGW for me.

              Then install Qt for MinGW instead of Qt 5.12.3 MSVC2017 which is for Microsoft C++ compiler.

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              2
              • A Andy35

                Sorry, didnt see I could scroll up in the compiler log

                05:53:51: Running steps for project untitled...
                05:53:51: Starting: "D:\qt\5.12.3\msvc2017_64\bin\qmake.exe" D:\qt\untitled\untitled.pro -spec win32-clang-g++ "CONFIG+=debug" "CONFIG+=qml_debug" "QMAKE_CFLAGS+=--sysroot="\""C:/TDM-GCC-64"\""" "QMAKE_CXXFLAGS+=--sysroot="\""C:/TDM-GCC-64"\""" "QMAKE_LFLAGS+=--sysroot="\""C:/TDM-GCC-64"\""" "QMAKE_CFLAGS+=--target=x86_64-w64-mingw32" "QMAKE_CXXFLAGS+=--target=x86_64-w64-mingw32" "QMAKE_LFLAGS+=--target=x86_64-w64-mingw32"
                05:53:52: The process "D:\qt\5.12.3\msvc2017_64\bin\qmake.exe" exited normally.
                05:53:52: Starting: "C:\TDM-GCC-64\bin\mingw32-make.exe" -f D:/qt/build-untitled-Desktop_Qt_5_12_3_MSVC2017_64bit-Debug/Makefile qmake_all
                mingw32-make: Nothing to be done for 'qmake_all'.
                05:53:52: The process "C:\TDM-GCC-64\bin\mingw32-make.exe" exited normally.
                05:53:52: Starting: "C:\TDM-GCC-64\bin\mingw32-make.exe" 
                mingw32-make: Symbolic links not supported: disabling -L.
                C:/TDM-GCC-64/bin/mingw32-make -f Makefile.Debug
                mingw32-make[1]: Entering directory 'D:/qt/build-untitled-Desktop_Qt_5_12_3_MSVC2017_64bit-Debug'
                clang++ --sysroot=C:/TDM-GCC-64 --target=x86_64-w64-mingw32 -Wl,-subsystem,windows -mthreads -o debug\untitled.exe debug/main.o debug/mainwindow.o debug/moc_mainwindow.o  -LD:\qt\5.12.3\msvc2017_64\lib D:\qt\5.12.3\msvc2017_64\lib\Qt5Widgetsd.lib D:\qt\5.12.3\msvc2017_64\lib\Qt5Guid.lib D:\qt\5.12.3\msvc2017_64\lib\Qt5Cored.lib  -lmingw32 D:\qt\5.12.3\msvc2017_64\lib\qtmaind.lib -LC:\openssl\lib -LC:\Utils\my_sql\mysql-5.6.11-winx64\lib -LC:\Utils\postgresql\pgsql\lib -lshell32 
                C:\TDM-GCC-64\bin\ld.exe: this linker was not configured to use sysroots
                clang++: error: linker command failed with exit code 1 (use -v to see invocation)
                Makefile.Debug:69: recipe for target 'debug/untitled.exe' failed
                mingw32-make[1]: Leaving directory 'D:/qt/build-untitled-Desktop_Qt_5_12_3_MSVC2017_64bit-Debug'
                Makefile:38: recipe for target 'debug' failed
                mingw32-make[1]: *** [debug/untitled.exe] Error 1
                mingw32-make: *** [debug] Error 2
                05:53:57: The process "C:\TDM-GCC-64\bin\mingw32-make.exe" exited with code 2.
                Error while building/deploying project untitled (kit: Desktop Qt 5.12.3 MSVC2017 64bit)
                When executing step "Make"
                05:53:57: Elapsed time: 00:06.
                

                I prefer OpenSource and FLOSS, so I guess its MinGW for me.

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

                Hi again @Andy35,

                thanks that's better.

                Now I see that you have even three systems combined: Clang, MinGW and MSVC.

                I'd recommend you a clean new installation.

                When selecting Qt, make sure to only select the MinGW version below 5.12.3 (choose 32 or 64 bit). If you just check 5.12.3, you will get all versions (MSVC, UWP, Android, etc.) Experience has shown that can lead to setup problems like yours.

                After that, it should work like a charm.

                Regards

                Also select the appropriate MinGW compiler from the Tools section.

                Qt has to stay free or it will die.

                1 Reply Last reply
                3
                • A Offline
                  A Offline
                  Andy35
                  wrote on last edited by
                  #8

                  Thanks guys, it works! Wanted to code in qt since 2010. Dream came true.

                  jsulmJ 1 Reply Last reply
                  1
                  • A Andy35

                    Thanks guys, it works! Wanted to code in qt since 2010. Dream came true.

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    @Andy35 Have fun! :-)

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    1
                    • T Offline
                      T Offline
                      top-master
                      wrote on last edited by
                      #10

                      For future readers;
                      mingw's *make.exe seems to produce the error:
                      "Symbolic links not supported: disabling -L."

                      Maybe because trying to use clang instead of gcc.

                      Possible Solution: download and use jom.exe instead.

                      Example:

                      Simply backup *make.exe, then replace it with jom.exe
                      (by moving jom.exe to same folder, and renaming jom.exe file to same name).

                      I mean, they seem to support the same command-lines,
                      with the only difference that jom.exe does not crash with strange-message.

                      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