Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-846

Unable to build the "helloworld-complex" example

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 1.4.2
    • 1.4.1
    • None
    • * Windows 8 x32
      * Qt 4.8.6 with MSVC2013
      * QtCreator v3.5-rc1 (build from 05/08/215)
    • 707d49d2fb423e280507f08fa816b5703de4e1e3 (QtC)

    Description

      Trying to open and build the project:

      ...qbs\examples\helloworld-complex\hello.qbs

      leads to an error for Debug target:

      17:14:32: Running steps for project hello...
      compiling foo.cpp
      compiling main.cpp
      compiling specialfeature.cpp
      C:\Program Files\Microsoft Visual Studio 12.0\VC\BIN/cl.exe /nologo /c /EHsc /Zi /MDd /DUNICODE /D_UNICODE /DSOMETHING /DHAVE_MAIN_CPP /D_DEBUG /DHAS_SPECIAL_FEATURE "/DWINVER=0x501" "/D_WIN32_WINNT=0x501" "/D_WIN32_WINDOWS=0x501" /FoE:\git\ng\999\qbs\examples\build-hello-Desktop_msvc_qt4-Debug\qtc_Desktop__2a61a8ab-debug\HelloWorld-Complex.qtc-Desktop--2a61a8ab.2ff08137\.obj\f27fede2220bcd32\main.cpp.obj E:\git\ng\999\qbs\examples\helloworld-complex\src\main.cpp /TP
      E:\git\ng\999\qbs\examples\helloworld-complex\src\main.cpp : fatal error C1041: cannot open program database 'e:\git\ng\999\qbs\examples\build-hello-desktop_msvc_qt4-debug\qtc_desktop__2a61a8ab-debug\helloworld-complex.qtc-desktop--2a61a8ab.2ff08137\.obj\vc120.pdb'; if multiple CL.EXE write to the same .PDB file, please use /FS
      Process failed with exit code 2.
      The following products could not be built for configuration qtc_Desktop__2a61a8ab-debug:
      HelloWorld-Complex
      Error while building/deploying project hello (kit: Desktop (msvc, qt4))
      When executing step "Qbs Build"
      17:14:32: Elapsed time: 00:00.

      Also, at opening of project, always reported an warning:

      :-1: warning: Unknown property: cpp.cxxCompilerName

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            kuzulis Denis Shienkov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes