Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Failed to load Qmainwindow,qtwidgets,qtimezone,qfile after upgraded from jessie t stretch
QtWS25 Last Chance

Failed to load Qmainwindow,qtwidgets,qtimezone,qfile after upgraded from jessie t stretch

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 2 Posters 378 Views
  • 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.
  • qt_ankit_developerQ Offline
    qt_ankit_developerQ Offline
    qt_ankit_developer
    wrote on last edited by qt_ankit_developer
    #1

    Dear sir,
    when i am using qt creator 4 on raspbian jessie everything is working fine, but when i have upgraded from jessie to stretch of raspbian, now my qtcretor version is also upgraded from qt4.8 to qt5.11.now when i am running my code on qtcreator it does not include Qtwidgets, Qmainwindow, Qtimezone and many more file in qt creator, compiler gives error that no such file found .
    please help me to solve this problem

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Do you mean, the default Qt version installed is now Qt 5.11 ?
      If so, you have to add ˋQT+= widgetsˋ to your .pro file.

      With Qt 5, the widgets have moved to their own module.

      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
      • qt_ankit_developerQ Offline
        qt_ankit_developerQ Offline
        qt_ankit_developer
        wrote on last edited by
        #3

        I have added that file also but still qmainwindow, qwidgets , qtimezone and many more files are not including on my project which is previously developed in qt creator 3.2.1

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Didn re-run qmake after that adding that line ?

          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

          • Login

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