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. Can't build container
Qt 6.11 is out! See what's new in the release blog

Can't build container

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 2.3k 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.
  • M Offline
    M Offline
    Mamas
    wrote on last edited by
    #1

    Hi,

    I just installed QT 5.1.0 (kit: Desktop Qt 5.1.0 MinGW 32bit) on my windows 7 laptop. I created a subdirs project and then added a QT application project. I did not add any code or any file, projects contain just what wizard created by its own.
    If I build the QT project , it is ok.
    When I build the subdirs project, I get a two warnings and one error:

    • could not find /tmp, please create (warning, got it twice)
    • [sub-primo-make first] Error 128 (primo is the QTproject name)

    here the make output:

    @16:26:32: Running steps for project Container...
    16:26:32: Configuration unchanged, skipping qmake step.
    16:26:32: Starting: "C:\Qt\Qt5.1.0\Tools\mingw48_32\bin\mingw32-make.exe"
    C:/Qt/Qt5.1.0/5.1.0/mingw48_32/bin/qmake.exe -spec win32-g++ CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug -o Makefile ../Container/Container.pro
    bash.exe: warning: could not find /tmp, please create!
    cd primo/ && ( test -e Makefile || C:/Qt/Qt5.1.0/5.1.0/mingw48_32/bin/qmake.exe C:/my/works/sft/QtCreator/Container/primo/primo.pro -spec win32-g++ CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug -o Makefile ) && C:/Qt/Qt5.1.0/Tools/mingw48_32/bin/mingw32-make -f Makefile
    bash.exe: warning: could not find /tmp, please create!
    /cygdrive/c/cygwin/bin/sh: line 1: 3312 Segmentation fault (core dumped) ( test -e Makefile || C:/Qt/Qt5.1.0/5.1.0/mingw48_32/bin/qmake.exe C:/my/works/sft/QtCreator/Container/primo/primo.pro -spec win32-g++ CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug -o Makefile )
    makefile:39: recipe for target 'sub-primo-make_first' failed
    mingw32-make: *** [sub-primo-make_first] Error 139
    16:26:35: The process "C:\Qt\Qt5.1.0\Tools\mingw48_32\bin\mingw32-make.exe" exited with code 2.
    Error while building/deploying project Container (kit: Desktop Qt 5.1.0 MinGW 32bit)
    When executing step 'Make'
    16:26:35: Elapsed time: 00:03.

    Someone can help ? Thanks.

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Your build process is trying to use MSYS's bash.exe and Cygwin. How are you running the build?

      Do you have another copy of MinGW or Cygwin installed on your computer?

      • If you are building from an MSYS shell or Cygwin shell, don't. Use the Windows command prompt instead.
      • If you are building from Qt Creator, try removing MinGW/Cygwin from your PATH first.

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Mamas
        wrote on last edited by
        #3

        Thanks JSKH, I found Cygwin in the path, it works after I removed it.

        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