The .pro file could not be parsed message



  • 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
    
    

  • Lifetime Qt Champion

    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.



  • 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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.