Qt WebEngine on Windows with Visual Studio 2017 incognito mode - windows

I managed to create VS app to load a web page with qt WebEngine. Now I would like to use incognito mode but I cant figure out how to translate the qt documentation to VS?
https://doc.qt.io/QT-5/qtwebengine-webenginewidgets-simplebrowser-example.html
How would I define profiles in VS?

Related

Qt VS Tools does not work in Visual Studio 2022

The Qt VS Tools extension does not work for me in VS 2022. I have Qt installed to my c drive, and when trying to add the version to the extension shown in the image below:
https://i.stack.imgur.com/TZ6yb.png
the tool loads for a good 10-20 seconds, crashes, and nothing has been changed
HOW TO ADD QT VERSION TO QT VS TOOLS
Click "+" button
Click at File Explorer icon on Path
Select C:\Qt\{The version of Qt you're using}\msvc2019_64\qmake.exe and open it
You're done! Click ok to comfirm it
CRASHED?
Maybe you had a very low-end PC, try install Visual Studio 2019.

Can not see "Windows Forms App (.NET)" Template in Visual Studio

Some Details
I do not use WinForms as much but I needed it for some work. I have got new computer some months ago > I installed Visual Studio > I have not worked with WinForms till then.
Problem
I can not find "Windows Forms App (.NET)" Template in Visual Studio ( Images at End ). But I can see "Windows Forms App (.NET Framework)" Template.
Images
Visual Studio Workloads: .NET desktop development, Desktop development with C++, Universal Windows Platform development, Game Development with Unity.
Templates I Can See:
You should be able to install .NET desktop development package in VS19.
Steps
Press create new project
Search for .NET desktop development (seen in picture A)
If it is not visible press the Install more tools and features link under Not finding what you're looking for (see picture B).
Search for the package and select it
Press the Modify button in the Visual Studio Installer

Why does Visual Studio 2017 open Windows "For developers" settings on startup?

Every time I start VS 2017 (Enterprise) on Windows 10, it opens the Settings > Update & security > For developers screen. Why does it do this, and how can I prevent it?
Installed workloads:
.NET desktop
UWP
.NET mobile (Xamarin)
I don't recall changing anything else during installation.
I had the exact same problem when opening a Xamarin project.
(Maybe it's related to the configuration request of the Xamarin Mac Agent)
I've found that enabling the developer mode on the settings stop the
panel to popup everytime.
It shows up because of the UWP workload (along with a notification in Visual Studio that you need a developer license to develop UWP apps):
https://learn.microsoft.com/en-us/windows/uwp/get-started/enable-your-device-for-development
However, if you are writing software with Visual Studio on a computer for first time, you will need to enable Developer Mode on both the development PC, and on any devices you'll use to test your code. Opening a UWP project when Developer Mode is not enabled will either open the For developers settings page, or cause this dialog to appear in Visual Studio:
Developer mode lets you sideload apps, and also run apps from Visual Studio in debug mode.
Either switching to developer mode or modifying your Visual Studio installation to not include UWP will stop it from happening.

Debugging a Qt + Photoshop plugin crash

I'm trying to implement a Qt window within a Photoshop plugin. I created a window with Qt Creator then exported it inside Visual Studio Express 2010. I've managed to get everything to compile.
The only problem is that Photoshop crashes when I try to open the window. How can I debug this error?
I am using Qt 5.1 32-bit and the latest Photoshop SDK.

Blackberry Development in Visual Studio

I am looking into developing a small app to run on a blackberry which will send a few commands to a windows app. I installed the plugin for Visual Studio development IDE. Where can I find information on blackberry development in visual studio?
See this Article in CodeProject: BlackBerry Java Application Development Using Visual Studio. Also, in BlackBerry Website there is a good videos for Developing BB apps with Visual Studio.

Resources