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. QTDIR paring Error after latest Visual Studio update
QtWS25 Last Chance

QTDIR paring Error after latest Visual Studio update

Scheduled Pinned Locked Moved Solved Installation and Deployment
visual studioqmakeupdate
7 Posts 3 Posters 4.1k 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
    Artorias
    wrote on 28 Jun 2016, 22:20 last edited by
    #1

    Greetings,
    yesterday I updated my Visual Studio to Update 3.
    When I try to open my .pro I get this Error:

    --- (Import): Generating new project of CGViewer.pro file
    --- (qmake) : Using: C:\Qt\Qt5.7.0\5.7\msvc2015_64\bin\qmake
    --- (qmake) : Working Directory: D:\Workspace\SoSe2016\ComputerGrafik\CGViewer\CGViewer 2
    --- (qmake) : Arguments: -tp vc "CGViewer.pro" -o "CGViewer.vcxproj" QMAKE_INCDIR_QT=$(QTDIR)\include QMAKE_LIBDIR=$(QTDIR)\lib QMAKE_MOC=$(QTDIR)\bin\moc.exe QMAKE_QMAKE=$(QTDIR)\bin\qmake.exe

    [1] - WARNING: Could not parse Compiler option '-std=c++0x'; added to AdditionalOptions.
    [2] - WARNING: You can suppress these warnings with CONFIG+=suppress_vcproj_warnings.
    [3] - WARNING: Could not parse Compiler option '-std=c++0x'; added to AdditionalOptions.

    --- (Import): Error(s): 3
    --- (qmake) : Exit Code: 0

    QTDIR konnte nicht aus Projektdatei CGViewer.vcxproj geparst werden.
    --- (Import): Generated project could not be loaded.
    --- (Import): Please look in the output above for errors and warnings.

    Here .pro:

    #-------------------------------------------------
    #
    # Project created by QtCreator 2014-03-06T11:52:40
    #
    #-------------------------------------------------
    
    QT          += core gui opengl
    
    greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
    
    TARGET = CGViewer
    TEMPLATE = app
    
    OBJECTS_DIR		= ./obj
    MOC_DIR 		= ./moc
    
    QMAKE_CXXFLAGS += -std=c++0x
    
    SOURCES     +=  src/main.cpp\
                    src/Mainwindow.cpp \
                    src/Scene.cpp \
                    src/EditWidgets.cpp \
                    src/Model.cpp \
                    src/Light.cpp \
                    src/Sphere.cpp \
                    src/Skybox.cpp
    
    HEADERS     +=  src/Mainwindow.h \
                    src/CGTypes.h \
                    src/Scene.h \
                    src/EditWidgets.h \
                    src/Model.h \
                    src/Light.h \
                    src/Sphere.h \
                    src/CGFunctions.h \
                    src/Skybox.h
    
    CONFIG      += mobility debug console
    MOBILITY    =
    
    
    OTHER_FILES += \
                        shader/fragment.glsl \
                        shader/fragment_cel.glsl \
                        shader/vertex.glsl \
                        shader/sphereFragment.glsl \
                        shader/sphereVertex.glsl \
                        shader/rayVertex.glsl \
                        shader/rayVertex.glsl \
    					shader/skybox_vertex.glsl \
    					shader/chosen_fragment.glsl \
    					shader/skybox.glsl \
                        shader/fragment_selected.glsl \
                        plane/plane.obj \
                        plane/plane.mtl \
    
    LIBS += opengl32.lib
    CONFIG += c++11
    
    

    On my laptop on which I have not done that update everything is running as usual.
    I already tryed the Visual Studio repair setup with no success.

    I hope that I do not need to reinstall Visual Studio update 2 to get rid of the new update.

    R J 2 Replies Last reply 29 Jun 2016, 07:15
    0
    • A Artorias
      28 Jun 2016, 22:20

      Greetings,
      yesterday I updated my Visual Studio to Update 3.
      When I try to open my .pro I get this Error:

      --- (Import): Generating new project of CGViewer.pro file
      --- (qmake) : Using: C:\Qt\Qt5.7.0\5.7\msvc2015_64\bin\qmake
      --- (qmake) : Working Directory: D:\Workspace\SoSe2016\ComputerGrafik\CGViewer\CGViewer 2
      --- (qmake) : Arguments: -tp vc "CGViewer.pro" -o "CGViewer.vcxproj" QMAKE_INCDIR_QT=$(QTDIR)\include QMAKE_LIBDIR=$(QTDIR)\lib QMAKE_MOC=$(QTDIR)\bin\moc.exe QMAKE_QMAKE=$(QTDIR)\bin\qmake.exe

      [1] - WARNING: Could not parse Compiler option '-std=c++0x'; added to AdditionalOptions.
      [2] - WARNING: You can suppress these warnings with CONFIG+=suppress_vcproj_warnings.
      [3] - WARNING: Could not parse Compiler option '-std=c++0x'; added to AdditionalOptions.

      --- (Import): Error(s): 3
      --- (qmake) : Exit Code: 0

      QTDIR konnte nicht aus Projektdatei CGViewer.vcxproj geparst werden.
      --- (Import): Generated project could not be loaded.
      --- (Import): Please look in the output above for errors and warnings.

      Here .pro:

      #-------------------------------------------------
      #
      # Project created by QtCreator 2014-03-06T11:52:40
      #
      #-------------------------------------------------
      
      QT          += core gui opengl
      
      greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
      
      TARGET = CGViewer
      TEMPLATE = app
      
      OBJECTS_DIR		= ./obj
      MOC_DIR 		= ./moc
      
      QMAKE_CXXFLAGS += -std=c++0x
      
      SOURCES     +=  src/main.cpp\
                      src/Mainwindow.cpp \
                      src/Scene.cpp \
                      src/EditWidgets.cpp \
                      src/Model.cpp \
                      src/Light.cpp \
                      src/Sphere.cpp \
                      src/Skybox.cpp
      
      HEADERS     +=  src/Mainwindow.h \
                      src/CGTypes.h \
                      src/Scene.h \
                      src/EditWidgets.h \
                      src/Model.h \
                      src/Light.h \
                      src/Sphere.h \
                      src/CGFunctions.h \
                      src/Skybox.h
      
      CONFIG      += mobility debug console
      MOBILITY    =
      
      
      OTHER_FILES += \
                          shader/fragment.glsl \
                          shader/fragment_cel.glsl \
                          shader/vertex.glsl \
                          shader/sphereFragment.glsl \
                          shader/sphereVertex.glsl \
                          shader/rayVertex.glsl \
                          shader/rayVertex.glsl \
      					shader/skybox_vertex.glsl \
      					shader/chosen_fragment.glsl \
      					shader/skybox.glsl \
                          shader/fragment_selected.glsl \
                          plane/plane.obj \
                          plane/plane.mtl \
      
      LIBS += opengl32.lib
      CONFIG += c++11
      
      

      On my laptop on which I have not done that update everything is running as usual.
      I already tryed the Visual Studio repair setup with no success.

      I hope that I do not need to reinstall Visual Studio update 2 to get rid of the new update.

      R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 29 Jun 2016, 07:15 last edited by
      #2

      @Artorias
      We are talking about VS2015?
      And i suppose you are using the unofficial Qt Addin (Qt5Package)?

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      A 1 Reply Last reply 29 Jun 2016, 11:49
      0
      • A Artorias
        28 Jun 2016, 22:20

        Greetings,
        yesterday I updated my Visual Studio to Update 3.
        When I try to open my .pro I get this Error:

        --- (Import): Generating new project of CGViewer.pro file
        --- (qmake) : Using: C:\Qt\Qt5.7.0\5.7\msvc2015_64\bin\qmake
        --- (qmake) : Working Directory: D:\Workspace\SoSe2016\ComputerGrafik\CGViewer\CGViewer 2
        --- (qmake) : Arguments: -tp vc "CGViewer.pro" -o "CGViewer.vcxproj" QMAKE_INCDIR_QT=$(QTDIR)\include QMAKE_LIBDIR=$(QTDIR)\lib QMAKE_MOC=$(QTDIR)\bin\moc.exe QMAKE_QMAKE=$(QTDIR)\bin\qmake.exe

        [1] - WARNING: Could not parse Compiler option '-std=c++0x'; added to AdditionalOptions.
        [2] - WARNING: You can suppress these warnings with CONFIG+=suppress_vcproj_warnings.
        [3] - WARNING: Could not parse Compiler option '-std=c++0x'; added to AdditionalOptions.

        --- (Import): Error(s): 3
        --- (qmake) : Exit Code: 0

        QTDIR konnte nicht aus Projektdatei CGViewer.vcxproj geparst werden.
        --- (Import): Generated project could not be loaded.
        --- (Import): Please look in the output above for errors and warnings.

        Here .pro:

        #-------------------------------------------------
        #
        # Project created by QtCreator 2014-03-06T11:52:40
        #
        #-------------------------------------------------
        
        QT          += core gui opengl
        
        greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
        
        TARGET = CGViewer
        TEMPLATE = app
        
        OBJECTS_DIR		= ./obj
        MOC_DIR 		= ./moc
        
        QMAKE_CXXFLAGS += -std=c++0x
        
        SOURCES     +=  src/main.cpp\
                        src/Mainwindow.cpp \
                        src/Scene.cpp \
                        src/EditWidgets.cpp \
                        src/Model.cpp \
                        src/Light.cpp \
                        src/Sphere.cpp \
                        src/Skybox.cpp
        
        HEADERS     +=  src/Mainwindow.h \
                        src/CGTypes.h \
                        src/Scene.h \
                        src/EditWidgets.h \
                        src/Model.h \
                        src/Light.h \
                        src/Sphere.h \
                        src/CGFunctions.h \
                        src/Skybox.h
        
        CONFIG      += mobility debug console
        MOBILITY    =
        
        
        OTHER_FILES += \
                            shader/fragment.glsl \
                            shader/fragment_cel.glsl \
                            shader/vertex.glsl \
                            shader/sphereFragment.glsl \
                            shader/sphereVertex.glsl \
                            shader/rayVertex.glsl \
                            shader/rayVertex.glsl \
        					shader/skybox_vertex.glsl \
        					shader/chosen_fragment.glsl \
        					shader/skybox.glsl \
                            shader/fragment_selected.glsl \
                            plane/plane.obj \
                            plane/plane.mtl \
        
        LIBS += opengl32.lib
        CONFIG += c++11
        
        

        On my laptop on which I have not done that update everything is running as usual.
        I already tryed the Visual Studio repair setup with no success.

        I hope that I do not need to reinstall Visual Studio update 2 to get rid of the new update.

        J Online
        J Online
        jsulm
        Lifetime Qt Champion
        wrote on 29 Jun 2016, 07:36 last edited by
        #3

        @Artorias Regarding "WARNING: Could not parse Compiler option '-std=c++0x'": if you want to activate C++11 then use

        CONFIG += c++11
        

        instead in PRO file

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

        A 1 Reply Last reply 29 Jun 2016, 11:50
        0
        • R raven-worx
          29 Jun 2016, 07:15

          @Artorias
          We are talking about VS2015?
          And i suppose you are using the unofficial Qt Addin (Qt5Package)?

          A Offline
          A Offline
          Artorias
          wrote on 29 Jun 2016, 11:49 last edited by
          #4

          @raven-worx
          Yes I am using this add in

          1 Reply Last reply
          0
          • J jsulm
            29 Jun 2016, 07:36

            @Artorias Regarding "WARNING: Could not parse Compiler option '-std=c++0x'": if you want to activate C++11 then use

            CONFIG += c++11
            

            instead in PRO file

            A Offline
            A Offline
            Artorias
            wrote on 29 Jun 2016, 11:50 last edited by
            #5

            @jsulm
            in my last collum i already use CONFIG += c++11

            J 1 Reply Last reply 29 Jun 2016, 11:54
            0
            • A Artorias
              29 Jun 2016, 11:50

              @jsulm
              in my last collum i already use CONFIG += c++11

              J Online
              J Online
              jsulm
              Lifetime Qt Champion
              wrote on 29 Jun 2016, 11:54 last edited by
              #6

              @Artorias Then there is no need for QMAKE_CXXFLAGS += -std=c++0x

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

              A 1 Reply Last reply 30 Jun 2016, 20:15
              0
              • J jsulm
                29 Jun 2016, 11:54

                @Artorias Then there is no need for QMAKE_CXXFLAGS += -std=c++0x

                A Offline
                A Offline
                Artorias
                wrote on 30 Jun 2016, 20:15 last edited by
                #7

                @jsulm thanks for the tipp!

                I solved my problem by reinstalling VS2015 Update 2.

                1 Reply Last reply
                0

                7/7

                30 Jun 2016, 20:15

                • Login

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