Older to New Version of Qt
-
If have run a code written written using Qt 4.2 in Qt 5.3 ,there are lot of compiler errors .For this do I have to install Qt 4.2
-
Hi and welcome to Qt devnet
You don't need
please look
"Porting Guide":http://qt-project.org/wiki/Transition_from_Qt_4.x_to_Qt5Hope this helps.
-
Thanks Sir,
But the error ":-1: error: [ui_mainwindow.h] Error -1073741515" persisits
How to remove it? -
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 -
Hi and welcome to devnet,
Since you are using widgets in your project, did you add
@QT += widgets@
in your pro file ?
-
Yes sir, I have added
-
Then, can you show the content of your pro file ?
-
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.proHEADERS +=
mainwindow1.h
mainwindow2.h
firstmainwindow.h
mainwindow3.h
mainwindow4.h
mainwindow5.hSOURCES +=
mainwindow1.cpp
mainwindow2.cpp
firstmainwindow.cpp
mainwindow3.cpp
mainwindow4.cpp
mainwindow5.cpp
main.cppFORMS +=
mainwindow1.ui
mainwindow2.ui
firstmainwindow.ui
mainwindow3.ui
mainwindow4.ui
mainwindow5.uiQT += widgets
-
Sir how to change the Kit parameter from Desktop5 to only Desktop.As the same code with Kit in Desktop mode worked absolutely fine
-
Just add the Kit for Desktop and remove the one from Desktop5 in the Project panel
-
Can anybody please tell me how to convert my project of Qt 5.3 to .exe file in windows.
-
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?
-
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 :)
-
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 ;)
-
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.
-
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?
-
I got the answer
Thanx!!!1 -
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? -
Check this web:
http://www.cplusplus.com/reference/iomanip/setprecision/
Anyway, I think you should post the question in other forum.
-
[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".