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. Help! I broke my program.
Forum Updated to NodeBB v4.3 + New Features

Help! I broke my program.

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 1.4k 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.
  • B Offline
    B Offline
    bask185
    wrote on last edited by
    #1

    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

    K 1 Reply Last reply
    0
    • B bask185

      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

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @bask185

      you need to show your .pro file

      From where to where did you copy?

      Vote the answer(s) that helped you to solve your issue(s)

      B 1 Reply Last reply
      0
      • VRoninV Offline
        VRoninV Offline
        VRonin
        wrote on last edited by
        #3

        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

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        1 Reply Last reply
        0
        • K koahnig

          @bask185

          you need to show your .pro file

          From where to where did you copy?

          B Offline
          B Offline
          bask185
          wrote on last edited by bask185
          #4

          @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

          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