I'm a Qt newbie. I'm trying to run tutorial from http://doc.qt.digia.com/3.3/tictac-example.html. However, I got error:
qptrvector.h: No such file or directory".
I have no idea what's going on. Anyone can give me a hint?
You are using a very old example which was written ~10 years ago. As the technology evolves, this is not up-to-date anymore, and you should not look at it even if you could manage to run it. It will confuse you more than help.
For instance, there is no QPtrVector anymore, but that is just one of those examples. Even if you take a look at a later example, you will find QtQuick1 (old and "done/obsolete") demonstration for the tictac example.
I think you wish to take a look at the examples from these years, e.g. QtQuickControls:
Qt Quick Controls Examples
or this one:
Task Menu Extension Example
Related
(thread title) bedrock minecraft more recognizable as "Windows 10 Edition" Minecraft, is it possible to create a sub category UI menu similar to that in Java minecraft where it says "mods" but in bedrock? and to add mods you make a mods folder that adds the mods coded in C++ (which the language bedrock/windows 10 MC is coded in)?
although this has been answered by #Kosaro, I just wanna add that you can create plugins to use on a PocketMine server. this is mainly written in YAML and PHP, so its not really what your looking for exactly but it a bit more open than just the addons that Minecraft allows you to create. plugins like this are what make things like slapping a NPC on a server like Mineplex possible, or an economy system on a factions server. although this is all dependent on whether you have a pc to host the server, and if your willing to port forward to play with others
It is possible through Blocklauncher. And these mods are called native Mods. It involves disassembling a file in Minecraft apk and using the function calls to call our own function. It is actually so complex. I only found two places to learn.
Tutorials by artus9033 (I've never used these Tutorials)
Github page by byteandahalf (Note: Page 9 is WIP)
Blocklauncher also uses javascript as a bridge between C++ and Minecraft, but it only has very few functionalities compared to C++. Add-ons are also good but have very fewer functionalities than javascript.
Hopes it helps you
Edit1: Blocklauncher is dead I don't know it before. It will work for older versions.
Edit2: There is another app inspired by Blocklauncher which you may like
https://github.com/TripleCamera. I don't know how to install it, but he made it. Blocklauncher scripts will not work (I guess). Blocklauncher works for version 12 and below of Minecraft
No, Minecraft Bedrock edition (aka Windows 10 edition) does not support C++ mods. The only type of mod that Bedrock edition supports are "add-ons", which are either resource packs (which change textures, models, sounds, animations, etc) or behavior packs (which change how mobs behave).
You are able to modify the UI using resource packs, here is an example from the official wiki: https://minecraft.gamepedia.com/Tutorials/Bedrock_Edition_creator_guidelines#UI
You can find more information and tutorials on the official reference page: https://minecraft.gamepedia.com/Add-on
Yes it is possible but it would be very involved and I’m not sure if this would be what the question really pertains to. The way I’ve seen it done is by a program (modding client) injecting itself into the Minecraft process. The injection resembles a virus’s methodology somewhat and the source code for the hacking/modding program was mostly cpp. Look up horion hacked client github. The client seems to be dead now though.
I'm using the default Xcode these days to do all of my coding, but Im interested in finding something to help with code refactoring. I have a bunch of older projects I want to clean up. Besides variable renaming, Xcode is lacking here.
1) I'm interested in the general consensus for the best option for a Mac user.
2) Now that Xcode 8 has been released with editor extensions, does anyone expect to see anyone develop any refactoring tools? Or is that sort of functionality past what editor extensions are allowed to do? I'm having a hard time finding any editor extensions that may have been developed so far.
I'm really looking to find something with function extraction. I've seen a few other threads like this, but I'm interested in an updated version along with any comments on the capabilities of Xcode 8's editor extensions. Thanks for any suggestions.
I have spent hours looking for this and can't figure it out. I have a program that I have made which I would like to add voice recognition to (all it does is a few simple commands like time, date, things like that...it's just for fun) and I know I have some form of SAPI on my computer because I had to include sapi.h to get the voice synthesis to work (and that's works fine by the way) but I can't figure out for the life of me how to use the voice recognition.
It appears people have already asked about C++ voice recognition on here so I apologize if this is just a duplicate but none of the others seemed to answer my question, perhaps I'm just missing something (I'm fairly new to C++ so it's very possible) but I could really use some help here.
Thanks a bunch!
----edit----
The code in the link has an issue on my computer, it can't find the file "atlbase.h" which then of course is causing all sorts of other problems (hopefully these will all be resolved when I fix the atlbase.h problem). I found this site which seems to offer an explanation which shows up on quite a few other sites and appears to work, but I don't know how to get to the file that everyone is changing.
https://answers.unrealengine.com/questions/12757/error-cannot-find-atlbaseh-when-compiling-in-vs201.html
Could someone please help me as to where the file they're all changing is?
I have recently read MFC Internals (ISBN 9780201407211) and it helped me greatly gain an intimate understanding of how MFC works and increased productivity about 100 fold. I was wondering now that I am into Qt, is there any book or documentation out there like this? I have been having a hard time finding straight-up documentation on Qt, it always seems to be beat-around=the-bush style of documentation (they tell you how to build the house, but not how to cut down the tree) ??
The best way is to try developing your own application. Just start from a basic application like calculator. Add a few widgets to it and code it as you go. For reference use "C++ gui programming with Qt4" mentioned by Zlatomir. I have recently designed a whole GUI using Qt. I drew its screenshots on Inkscape to get a prototype look and afterwards I started working on designer to fulfill each functionality. Then I implemented the code and I repeated the designing and coding steps. Also, the best help will be Qt Assistant - its sufficiently complete, no Internet required so save times and simple to use. Going my way, you will not only learn Qt in short interval after which you can go through the book to know what tips and tricks you might not know, but also it will be interesting so that you may not give up like many others who just fall midway through the reading part. Warning - Doing this way, you will also know about pitfalls/drawbacks of Qt and how to not go that way.
This is one of the links I found last night. I went through 2 pages and found it might make your life a bit easier - http://zetcode.com/gui/qt4/
I have not read the MFC book you mentioned, but the Qt framework i learned by reading from "C++ gui programming with Qt4" (the first edition is available as a free download) and "Foundation of Qt development" and also it's worth mentioning this documentation page, that contains links to the basic concepts of Qt framework.
I am interested in writing simple windows-based programs for scientific calculations in c++. Is there a place I could find source code for a template that I could use? The window I would create would hardly ever vary -- it would be something similar to this (but simpler!):
http://www.lisisoft.com/imglisi/6/Science/73401version4xp.jpg
I am not a c++ programmer -- but I have created similar programs in visual basic (blush!). This is my way of learning c++ by working within a limited range of program design...mainly at first just changing the formulas and a few labels.
Can anyone help or point me in the right direction?
First off, there are a million things you need to know before you can just download some code from somewhere and try to work with it. My best advice would be to pick up an "Introduction to C++" book.
But, putting that aside, I will try to answer the question.
There are 2 main ways to make GUI apps in windows using C++:
Get a C++ GUI library, there is an extensive list here.
Work with the Windows API directly.
Once you have choosen either step 1 or 2, try to search for samples by searching the library name you have chosen followed by the word "samples" or "examples" (i.e, "WxWidgets Samples", "Qt examples" or "Windows API examples")
However, either way you choose, in order to make something like the example in your picture, I would estimate that it would take you at least 6 months (and thats if you program everyday).
For a windows C++ GUI library try reliable software library at www.relisoft.com. If you want to use native windows GUI programming you can also try using QT libraries.