Implementing Chrome style menu items in Qt - c++

If you take a look at Google Chrome's configuration menu you will see several neat UI features. Specifically the edit and zoom menu items. How can I implement a similar version of Chromes zoom menu item inside Qt 4.7.1.

Since Chrome is based on the open source project Chromium you can download the source code and see exactly how Google have done it.

Chromium is made on VC++
link here -> http://cotsog.wordpress.com/2009/11/08/how-to-compile-google-chrome-with-visual-c-2008-express-edition/

Related

No plist file available in Xcode C++ App

I'm new to Xcode. I am using version 8.3.3 on MacOS 10.12.5 (Sierra) to develop an experimental command line application. I want to set up a version number for the application. According to instructions in Apple documentation and many other places I should be able to do this under the General tab for the project. However, under the General tab Xcode does not seem to be able to find a plist file and instead
displays a 'Choose info.plist File' button.
When I click the click the button Xcode displays a selection dialog containing a project icon, but no sign of an info.plist file and no obvious way to navigate to or create one.
I have tried the technique described at Youtube (v=gYh4_80jHDk: sorry -- can't post it as a link as I'm also new to Stack Overflow!) but to no avail. It just gives me another 'Choose info.plist File' button.
I expect I'm missing something obvious, but it's not obvious to me. I'd be grateful for any help!
Many thanks

Cannot Connect to QML Emluation Layer (QML Puppet)

I just made the fresh QT installation and when I create empty QT Quick project or open any of existing QT Quick examples, my QML designer doesn't work. It shows "Cannot Connect to QML Emluation Layer (QML Puppet)" error.
I tried to reinstall QT, reboot, installed additional QT kit versions and tried to switch between 32bit/64bit default/opengl versions of the kit and nothing seems to work for me. I was able to successfully run the designer ONCE, and after I closed it and tried to re-open the file it stopped working again. I also tried to search, but didn't find any solution. I also tried to ask on QT forums, but didn't receive any answer.
My system is Windows 7, with Visual Studio 2013 installed. Thanks for your help!
Do this:
Go to QT Creator Preferences (Menu Bar | Tools > Options)
Select QT Quick Option (Options headings - left side).
Click the QT Quick Designer tab.
Under QML Emulation Layer grouping, select "Use QML Emulation Layer that is built with selected QT".
No need to choose a path,
And click OK.
It will rebuild your designer view.
Worked for me.
Possibly related to this bug. Just try this workaround: in the Options
dialog go to “Qt Quick / Qt Quick Designer / QML Emulation Layer” and
disable the checkbox “Always use the QML emulation layer prived by Qt
Creator”. That will cause a rebuild of the emulation layer with the
used Qt version in the current project. That layer does not crash.
This workaround only works with Desktop Kits. – BaCaRoZzo Mar 30
This worked for me on Ubuntu 14.04.
Go to Tools->Options->Qt Quick.
In QML Emulation Layer, make sure
the path is correct for "Use fallback QML emulation layer".
Since I was reinstalling Qt, the new installation had the old path of Qt which gave rise to this issue.
If failed anyway, use "Qt Design studio" instead and build it again, it worked for me.
I recommend to uninstall Qt first and then reinstall it with "Qt Design Studio" box checked.
On Ubuntu 20 LTS, you can run it on: /home/Qt/Tools/QtDesignStudio/bin/qtdesignstudio
Good luck.

No breadcrumbs support for eclipse-CDT?

I'm so used to working with Eclipse for java related projects that I thought I'd work with Eclipse CDT for C-projects too. 'Show in Breadcrumbs' was a nifty little feature that would show what method the cursor currently is at (in Eclipse JAVA).
I don't see that option in Eclipse CDT. Is it in some way, hard to implement? The closest I could find to using the breadcrumbs feature was this :
Go to Outline pane, open its menu (down arrowhead on the top, right
side) and check the box "Link With Editor". Now the method name will
be highlighted to coincide with the cursor location.
From(source) : here.
Are there any other alternatives to get the Breadcrumbs feature working under Eclipse CDT?
No. :-(
The option Link with Editor is not only available in the Outline view, but also in the Project Explorer view, and others
You can use Mylyn, which also automatically links the Project Explorer view with the file/function you edit.

Netbeans 7 and XSLT support

Does anyone knows how to enable XSLT support, auto-complete in particular, in Netbeans 7?
Every time I'm opening a new tag within my style, the auto-complete pop-up appears, and shows "downloading...". After few seconds it disappears and that's all.
Regards,
Radek
Answer from here:
https://blogs.oracle.com/geertjan/entry/xml_schema_editor_in_netbeans
Go to Tools | Plugins in NetBeans IDE 7.0.1. In the Settings tab, register this update center:
http://deadlock.netbeans.org/hudson/job/xml/lastSuccessfulBuild/artifact/build/updates/updates.xml
Now go to the Available Plugins tab and search for XML Tools. Install that plugin.
Go to the New File dialog and pick an XML schema file

WebBrowser component in Dev-C++

I want to use a WebBrowser control in a Dev-C++ project. Ages ago, when I was using VB6, I just added the WebBrowser control (C:\Windows\System32\shdocvw.dll) to my form and it worked, but I'm lost in C++.
Should I load it dynamically with LoadLibrary, then somehow add it to my dialog window? I want to have standard features like page navigation, dynamic HTML elements, submittable forms, view page source, etc.
Update:
I installed Qt Maker and downloaded a test project from the official site. But when running/compiling I get this error:
Could not find make command: make in the build environment
Error while building project betalabsclient (target: Desktop)
When executing build step 'Make'
Does anyone have any ideas? Mingw is installed, of course.
This is not the answer for your question, but you may want to try and use Qt and the webkit browser component in it.
There are several webkit-related samples and I assume that they may actually suit for your needs "as they are".
Web Browser Example (ActiveQt)
HOWTO: Get QT working with Dev-C++