VisualGDB visual Studio 2022 QT application for Linux - qt

I was working with qt application for raspberry pi using visualGDB cross compiler in 2015 it was working fine for me, but after 5 years I restarted the project this time I update the VisualStudio 2022 with the latest visualGDB version, and I found that when I create the Linux project on creating the project first ui was created by default but when I trying to create the new ui class I haven't found the option for qt class. Send a week but haven't found the solution. Please suggest where if I miss anything.
Regards
Arun

Related

How can I compile QT 4 dlls with msvc 2019?

I have an old project using QT 4.6.2 that runs on VS 2008. I was able to compile it in VS 2019 with msvc 2019 toolchain but it crashes in run time. I see that the problem happens because when I use the QString::toStdString() function, it involves QTCore4.dll using msvc90.dll (VS2008), but when destroying the std::string the app uses msvc2019. This mismatch ends in the app crash.
I want to fix it by recompiling QTCore4.dll using the msvc 2019 but have no idea how to do this. I got the dll by installing QT and have no instructions how to recompile it.
Is it even possible or is it closed source?
I assume upgrading to QT 5 is also an option but I would like to stay with QT 4 for now.
Qt 5 is largely source compatible with Qt 4. I would first highly recommend trying to compile your project (and fixing any small issues) against Qt 5.
If you need the Qt Declarative module, you can compile it against Qt 5 if you must.
That being said, Qt is released under the Open Source LGPL license.
You can fetch the Qt 4 source code from github: https://github.com/qt/qt
Building Qt 4 involves having perl installed and running configure followed by nmake (for Visual Studio). You will need to set up some new things for Visual Studio 2019, and potentially fix code incompatibilities that the 2019 version compiler digs up.

Not able to create Qt project with Visual Studio 2015 in Windows 10

I'm not able to create a Qt project with Visual Studio Community 2015 in Windows 10.
Steps I followed to setup QT with VS2015,
Installed visual studio community 10
Downloaded and installed QT for VS2015
Added QtPackage in VS2015 "Extensions and Updates", also added Qt version.
How I create new QT project
I select "QT application" under Visual C++ templates, which prompts couple of Qt project options to create application, but at the last before creating a project visual studio throws error
'C:\Users\users\AppData\Local\Temp\h451xhqd.vcproj' cannot be opened because its project type (.vcproj) is not supported by this version of the application.
However, I'm able to create a project with QT creator. Any help or pointer will be helpful.
PS: I'm new to VisualC++ :)
Below are the similar SO question that didn't helped
Question 1
Question 2
A video link from youtube
Finally, I was able to create a QT project.
Actually problem was with VC++ setup and template files. These two link was very helpful to me.
Running setup mentioned in section "Visual C++ : Project creation failure after Update"
Renaming ComponentModelCache

Submit Qt based app on Windows App

I have already created Qt based application which uses some third-party open source library like OpenCV, I have looked Windows Dev Center and seems the all the reference is using Visual Studios and other Windows tool. I have created my App using Qt creator. Is it possible to submit such an application on Windows App store?
Any help will be appreciated,
Thanks
Haris
Bad news: Microsoft does not support Win32 apps on AppStore yet (but it has been announced, currently under development as "Project Centennial"). It looks like an "old-school" desktop applications cannot be submitted to the Windows App store.
Good news: Qt has support for WinRT (complete in Qt 5.6 which is currently in Beta and will be released in a few weeks). And qmake can generate a Visual Studio solution from your project (in case you need it for deployment or debugging; VS Community edition is free).
Qt WinRT tutorial: http://doc.qt.io/qt-5/winrt-support.html
OpenCV in WinRT: https://msopentech.com/blog/2014/03/20/easily-build-opencv-powered-apps-for-windows-store/

mvvm-light unable to create WP7 app "the project type is not supported by this installation"

I have been trying to learn MVVM using Laurent Bugnion MVVM light method.
I have installed binaries and templates (using latest version dated 23 Jan 2011)
I can create WPF and SL4 projects but when I try to create a WP7 project VS2010 throws an error.
"The project file c:\users\tonby\AppData\Local\temp\ime44m4x.2hg\Temp\MvvmLigh5.csproj cannot be opened.
The project type is not supported by this installation.
I have checked the template files are not blocked so unsure what to try next.
Did you install the Windows Phone 7 tools?

problem with QT and visual studio 2010 ultimate in debug build

I install vs 2010 ultimate and "qt 4.7.1-vs 2008" qt-vs-addin-1.1.7. Now every thing is configured but when i make a debug build of qt application i am getting
"The application has failed to start because the application configuration is incorrect".
This is probably because vs 2010 is compiling to msvcp100d.dll where as qt is compiled with msvcp90d.dll. Can you please let me know how the problem can be resolved thanks in advance....
I'm not working with Windows releases for a long long time but if Nokia doesn't provides a compiled release for VS2010 why don't you compile Qt from the source? It takes a while but it's the right thing to do.
PS:
Looking through the Qt Software download page it doesn't seems to have a VS2010 release, at least for the LGPL version. Then, you really need to download the source and build it.
Just in case you need from reference on Qt build process, take a look at this:
http://en.wikibooks.org/wiki/Opticks_Developer_Guide/Getting_Started/Building_Qt_From_Source
Configure options for you case may be different.
Also, be warned that according to this VS 2010 is not a Tier 1 platform for Qt.

Resources