Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt5.8.0 MinGW 32bit on Windows: Recipe for target failed
QtWS25 Last Chance

Qt5.8.0 MinGW 32bit on Windows: Recipe for target failed

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
debug errormingw32-make
3 Posts 2 Posters 3.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.
  • K Offline
    K Offline
    ksgj
    wrote on 5 May 2018, 10:25 last edited by
    #1

    Hi all, apologies if this is not suitable here, but I am very new to this, and I keep getting errors on debugging, and I'm not quite sure how to fix it. I am trying to compile TeXstudio on Qt creator, with QT 5.8.0 on Windows 10 64bit --- it's open source so I hope it's okay to "share" it here.

    I'm debugging with the kit: Desktop Qt5.8.0 MinGW 32 bit. The run (with Ctrl + B) goes fine initially, except several warnings, but no major errors.
    Then nearing the end, I get error 1:

    windres -i ../texstudio/win.rc -o debug/win_res.o --include-dir=./../texstudio -DUNICODE -DHUNSPELL_STATIC -D_QCODE_EDIT_BUILD_ -DQNFA_BUILD -DQUAZIP_STATIC -DHAS_POPPLER_24 -DHAS_POPPLER_31 -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_UITOOLS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SCRIPT_LIB -DQT_CONCURRENT_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"D:/user/Documents/TeXstudio project/build-texstudio-Desktop_Qt_5_8_0_MinGW_32bit-Debug"' -DQT_QML_DEBUG
    "D:/user/Documents/TeXstudio project/texstudio/git_revision.bat" g++ "D:/user/Documents/TeXstudio project/build-texstudio-Desktop_Qt_5_8_0_MinGW_32bit-Debug" "D:/user/Documents/TeXstudio project/texstudio"
    'D:\user\Documents\TeXstudio' is not recognized as an internal or external command,
    operable program or batch file.
    Makefile.Debug:1159: recipe for target 'texstudio.exe' failed
    mingw32-make[1]: Leaving directory 'D:/user/Documents/TeXstudio project/build-texstudio-Desktop_Qt_5_8_0_MinGW_32bit-Debug'
    Makefile:34: recipe for target 'debug' failed
    mingw32-make[1]: *** [texstudio.exe] Error 1
    mingw32-make: *** [debug] Error 2
    11:18:31: The process "D:\ProgramFiles\Qt\Tools\mingw530_32\bin\mingw32-make.exe" exited with code 2.
    Error while building/deploying project texstudio (kit: Desktop Qt 5.8.0 MinGW 32bit)
    When executing step "Make"
    11:18:31: Elapsed time: 18:07.
    

    If there is a need for a full log, I can't yet upload any files but I can host it on Pastebin if need be.

    As far as I can see, it seems the argument that is being passed to mingw32-make is wrong, but I don't know where and how to pass it correctly?
    Hope you guys can help, thanks.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      ksgj
      wrote on 5 May 2018, 11:02 last edited by
      #2

      I realized the file name cannot have spaces. Changing TeXstudio project to TeXstudio-project makes it work, for the time being.

      A 1 Reply Last reply 5 May 2018, 14:57
      1
      • K ksgj
        5 May 2018, 11:02

        I realized the file name cannot have spaces. Changing TeXstudio project to TeXstudio-project makes it work, for the time being.

        A Offline
        A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on 5 May 2018, 14:57 last edited by
        #3

        @ksgj

        Yeah, avoiding whitespaces and special chars in path names makes the developers life easier.

        So please mark this topic as SOLVED (button Topic Tools below your first post).

        Thanks

        Qt has to stay free or it will die.

        1 Reply Last reply
        1

        1/3

        5 May 2018, 10:25

        • Login

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