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. Older to New Version of Qt
Qt 6.11 is out! See what's new in the release blog

Older to New Version of Qt

Scheduled Pinned Locked Moved General and Desktop
20 Posts 6 Posters 6.6k 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.
  • J Offline
    J Offline
    jugnu
    wrote on last edited by
    #3

    Thanks Sir,
    But the error ":-1: error: [ui_mainwindow.h] Error -1073741515" persisits
    How to remove it?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jugnu
      wrote on last edited by
      #4

      Sir, I am new to Qt;

      My project shows in build and run section :

      Kit :- Desktop5
      Deploy:- No deployement
      compiler:- MinGw 4.8.2 32 bit

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

        Hi and welcome to devnet,

        Since you are using widgets in your project, did you add

        @QT += widgets@

        in your pro file ?

        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
        • J Offline
          J Offline
          jugnu
          wrote on last edited by
          #6

          Yes sir, I have added

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

            Then, can you show the content of your pro file ?

            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
            • J Offline
              J Offline
              jugnu
              wrote on last edited by
              #8

              OTHER_FILES +=
              qtc_packaging/debian_harmattan/rules
              qtc_packaging/debian_harmattan/README
              qtc_packaging/debian_harmattan/manifest.aegis
              qtc_packaging/debian_harmattan/copyright
              qtc_packaging/debian_harmattan/control
              qtc_packaging/debian_harmattan/compat
              qtc_packaging/debian_harmattan/changelog
              ../../Desktop/dm/dm.pro

              HEADERS +=
              mainwindow1.h
              mainwindow2.h
              firstmainwindow.h
              mainwindow3.h
              mainwindow4.h
              mainwindow5.h

              SOURCES +=
              mainwindow1.cpp
              mainwindow2.cpp
              firstmainwindow.cpp
              mainwindow3.cpp
              mainwindow4.cpp
              mainwindow5.cpp
              main.cpp

              FORMS +=
              mainwindow1.ui
              mainwindow2.ui
              firstmainwindow.ui
              mainwindow3.ui
              mainwindow4.ui
              mainwindow5.ui

              QT += widgets

              1 Reply Last reply
              0
              • J Offline
                J Offline
                jugnu
                wrote on last edited by
                #9

                Sir how to change the Kit parameter from Desktop5 to only Desktop.As the same code with Kit in Desktop mode worked absolutely fine

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

                  Just add the Kit for Desktop and remove the one from Desktop5 in the Project panel

                  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
                  • J Offline
                    J Offline
                    jugnu
                    wrote on last edited by
                    #11

                    Can anybody please tell me how to convert my project of Qt 5.3 to .exe file in windows.

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      jugnu
                      wrote on last edited by
                      #12

                      I got the .exe file in build option . But when I run .exe file it gives the error Qt5core.dll missing. How to resolve it?

                      1 Reply Last reply
                      0
                      • IamSumitI Offline
                        IamSumitI Offline
                        IamSumit
                        wrote on last edited by
                        #13

                        Hi.
                        if you want to run your exe then just copy and paste from -C:\Qt\4.8.4\bin- ..../Qt/5.x/bin folder Qt5core.dll file.
                        hope this helps.

                        Edited@IamSumit :)

                        Be Cute

                        1 Reply Last reply
                        0
                        • JKSHJ Offline
                          JKSHJ Offline
                          JKSH
                          Moderators
                          wrote on last edited by
                          #14

                          Hi,

                          [quote author="jugnu" date="1414628714"]I got the .exe file in build option . But when I run .exe file it gives the error Qt5core.dll missing. How to resolve it?
                          [/quote]See http://qt-project.org/wiki/Deploy_an_Application_on_Windows

                          [quote author="IamSumit" date="1414649854"]copy and paste from C:\Qt\4.8.4\bin folder Qt5core.dll file.[/quote]You'll need other DLLs too, not just Qt5Core.dll. The link above describes one way of finding all the correct DLLs.

                          Also, you won't find Qt 5 DLLs in a Qt 4.8 folder ;)

                          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                          1 Reply Last reply
                          0
                          • R Offline
                            R Offline
                            Rolias
                            wrote on last edited by
                            #15

                            I don't know in which version it started, but Qt has a windows deployment tool. I recently wrote up a "blog entry on it":http://bit.ly/qt5deploy. I found it worked quite well at gathering up all the .dlls needed to deploy an application.

                            Check out my third course in the trilogy on Qt
                            "Integrating Qt Quick with C++"
                            http://bit.ly/qtquickcpp
                            published by Pluralsight

                            1 Reply Last reply
                            0
                            • J Offline
                              J Offline
                              jugnu
                              wrote on last edited by
                              #16

                              I am writing output to a file using :

                              (*out) << variable_name ;

                              But i want to print it with 6 digit precision .How to do that?

                              1 Reply Last reply
                              0
                              • J Offline
                                J Offline
                                jugnu
                                wrote on last edited by
                                #17

                                I got the answer
                                Thanx!!!1

                                1 Reply Last reply
                                0
                                • J Offline
                                  J Offline
                                  jugnu
                                  wrote on last edited by
                                  #18

                                  I have three methods implemented in my project with tables.. I want that if user gives input to the table of first methods. Same inputs are copied to the
                                  table of second and third methods. How to do that?

                                  1 Reply Last reply
                                  0
                                  • T Offline
                                    T Offline
                                    tarod.net
                                    wrote on last edited by
                                    #19

                                    Check this web:

                                    http://www.cplusplus.com/reference/iomanip/setprecision/

                                    Anyway, I think you should post the question in other forum.

                                    "Individually, we are one drop. Together, we are an ocean."

                                    1 Reply Last reply
                                    0
                                    • JKSHJ Offline
                                      JKSHJ Offline
                                      JKSH
                                      Moderators
                                      wrote on last edited by
                                      #20

                                      [quote author="tarod.net" date="1416220083"]Anyway, I think you should post the question in other forum.[/quote]Yes, please start a new thread if you have more questions.

                                      This thread is for discussing "Older to New Version of Qt".

                                      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                                      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