Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved The .pro file could not be parsed message

    General and Desktop
    3
    3
    2665
    Loading More Posts
    • 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
      astroannie last edited by

      Here is my .pro file -- can someone spot why it's not parsing? I don't think I did anything to it directly.

      #-------------------------------------------------
      #
      # Project created by QtCreator 2016-03-21T16:13:10
      #
      #-------------------------------------------------
      
      QT       += core gui
      
      greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
      
      TARGET = AnimationStuff
      TEMPLATE = app
      
      
      SOURCES += main.cpp\
              dialog.cpp \
          myitem.cpp
      
      HEADERS  += dialog.h \
          myitem.h
      
      FORMS    += dialog.ui
      
      
      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        At first sight it looks good

        Did you do a copy/paste from somewhere ?

        If so, you might be having some stray char somewhere. Either search for them or since the file is pretty short, delete and rewrite the content by hand.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • Numi
          Numi last edited by

          I'm not entirely sure if this will work for you, but I just right-clicked a random .cpp file in the project and clicked build. After it successfully built that, for some reason the two buttons in the lower left to Run and Start Debugging became enabled and I was able to Run. Good luck

          1 Reply Last reply Reply Quote 0
          • First post
            Last post