Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    Mobile and Embedded
    2
    4
    133
    Loading More Posts
    • 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_developer
      qt_ankit_developer last edited by qt_ankit_developer

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • qt_ankit_developer
          qt_ankit_developer last edited by

          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 Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            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 Reply Quote 0
            • First post
              Last post