Help! I broke my program.



  • I copied the entire folder cuz I needed certain tweaks for an individual device but now my main program does not compile anymore.

    It seems it doesn't recognize the libraries anymore and I get an error

    :-1: error: Unknown module(s) in QT: webenginewidgets
    

    The .pro file has not been changed, I cleaned the project but no luck.
    alt text

    I don't know what I did to it, I can't recall doing anything to it. This is the original program. The copied still works fine


  • Moderators

    @bask185

    you need to show your .pro file

    From where to where did you copy?



  • Could you make sure you have a working kit? click on the monitor icon above the "start program" icon on the bottom left of the window and see if there are configurations at all



  • @koahnig said in Help! I broke my program.:

    @bask185

    you need to show your .pro file

    From where to where did you copy?

    The copy works fine, it is the original which stopped working. The .pro file of both are identical.

    QT       += core gui
    QT 	 += serialport
    QT       += widgets
    QT       += quickwidgets
    QT       += webenginewidgets
    
    TARGET = GUI
    TEMPLATE = app
    
    
    SOURCES += main.cpp\
        mainwindow.cpp \
        keyboard.cpp \
        numpad.cpp \
        setup.cpp \
        login.cpp \
        ssp.cpp \
        datalog.cpp \
        toolbar.cpp \
        help.cpp \
        database.cpp
    
    HEADERS  += mainwindow.h \
        keyboard.h \
        numpad.h \
        setup.h \
        login.h \
        ssp.h \
        datalog.h \
        toolbar.h \
        help.h \
        database.h
    
    FORMS    += mainwindow.ui \
        keyboard.ui \
        numpad.ui \
        setup.ui \
        login.ui \
        ssp.ui \
        toolbar.ui \
        help.ui \
        database.ui
    
    RESOURCES += \
        resource.qrc
    
    target.path = /home/pi/ # redundant but does not hurt either
    INSTALLS += target
    
    DISTFILES +=
    
    

    @VRonin said in Help! I broke my program.:

    Could you make sure you have a working kit? click on the monitor icon above the "start program" icon on the bottom left of the window and see if there are configurations at all

    Nope there are no kits there anymore...

    EDIT: Ok I got the kits back. I can compile now, tnx


Log in to reply
 

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