Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. The .pro file could not be parsed message

The .pro file could not be parsed message

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 3.0k 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.
  • A Offline
    A Offline
    astroannie
    wrote on last edited by
    #1

    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
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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
      0
      • NumiN Offline
        NumiN Offline
        Numi
        wrote on last edited by
        #3

        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
        0

        • Login

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