Easy c++ gui for Xcode and installing GTK+ - c++

i wanted to make a Gui for a c++ program that prints code on a screen. My question is does anyone know a good library/program that is easy to understand. Also the install info for it due to the fact that i am not good at installing libraries. I know about GTK+ but the issue is that i have no idea how to install it. Mainly i just do not see the download link for it.

http://qt-project.org/doc/qt-5/macosx.html
try this. it's imho the best thing to learn

Related

XCode, Visual Studio, and GitHub with C++

I just learned the basics for git bash and GitHub, and I want to start using a repository for a simple console-based text game in C++ that I will be making. I have a MacBook laptop that I use to code on the go in XCode, and when I am home I use my Windows desktop in Visual Studio.
My question is "How do I run a C++ program from GitHub for both of these IDE's after I have cloned it?"
Should I just get the same IDE for both computers, like Eclipse? I've done quite a bit of research, but everything seems super complicated. I am hoping that there's an easier way, as I'm just a hobby coder. I'm definitely willing to learn; I just hate copying and pasting commands without understanding what they do. Any help is appreciated :)
Edited: Clarified that I know how to clone. The running part is what I don't know how to do.
There really are several ways to do what you're asking.
Store the project files with your repo, usually in a dedicated folder
msvc (with version)
xcode
makefile
qt creator
kdevelop
etc....
generalize the c++ with another build-system like CMake
The first option will/can get annoying but it is usually where most people starting to learn to program go. It isn't too bad so long as you realize you'll probably have problems sharing your project as no one has 'quite' the same exact setup as you.
The second option is where most projects usually end up. You need to learn the intricacies of something like CMake but once you learn, projects can be made for almost any IDE/environment.

New WebKit with old Qt. Is it worth trying?

I have a project built with Qt 3.2.3. It's a little outdated piece of code, but it works fine except for its' embedded browser. This thing is plain old. So I want to take fresh nightly built WebKit and try to adopt it somehow. The question is - is it even possible? I am new with Qt, but had a little experience with WebKit in the recent past. It was very easy linking it to C# project, but I really don't know about Qt and C++.
Maybe there is some better solution for updating a Qt browser without touching the whole Qt?
Honestly saying I think it's easier to port an application from 3.* to latest 4/5 then compiling latest WebKit into 3.*.. there are some core differences which will be really hard to solve. Although such experiment can be possible but I just not sure it's worth it.
WebKit from SVN won't even build against Qt from a couple months ago, so I can't imagine it would be easy to get it to build against Qt 3. I would highly recommend just porting to the current version of Qt and QtWebKit.

GUI Programming C++ for Mac OS X Lion

I'm probably going to get abuse for this question but here goes. Oh but before you tear into me and tell to crawl back under a rock etc. I have looked high and low and nothing has helped me so far either the software libs are out of date and for some reason wont work on lion.
Ok other than Qt is there any other lightweight opensource GUI library for C++ on mac? I have tried this wxWidgets doesn't work for some reason. Apple don't seem to offer that carbon crap anymore or can I use openGL to create GUI's? I just want a simple nicely documented GUI lib without having to switch to windows to develop. or will I have to spend some money on one or resort to Qt.
Hope someone can help and thanks!
Why not use Cocoa (the native way to develop OSX GUIs) in the first place? You must use the Objective-C calls to create windows for example, but you can mix this code with C++ code in the same file - this is then called Objective-C++ and it is supported by clang and the gcc.
To build completely native-looking OSX Applications, you need Cocoa. Every other toolkit that can create those native GUIs calls Cocoa (at least to my knowledge).
Just as a pointer: have you tried SDL?
FLTK is simple and very stable GUI library. Runs on Windows, OS X and Linux.
Non-native look though.
Here is a screenshot of an app I built with it a few years ago, and that still runs great on Lion.
I'd take a look at both GLUT and GLUI as simple extensions to OpenGL that provide basic widgets. They can be used together to some degree, but I personally have run into a couple issues in that department. Either one in isolation is pretty simple to use if you're familiar with OpenGL though.
EDIT: Also, X11 can run in OS X, although I'm not familiar enough with the system to know how to get started with that.

What should I use for coding C++ on a Mac and Windows?

A group of students and I are making a C++ game, but they have Windows and I have a Mac is there something we can use to share code between the systems?
I know Eclipse will work but I get Unresolved conclusion: <iostream> as an error. If anyone can help with that it would be great.
If you want something to actually "share the code" with, I would recommend git using github as the remote location. Its free and easy to use.
If your question is about the code not working, make sure you have X11 configured properly, and have the Eclipse C++ plugin installed.
And I would also recommend using XCode as your editor instead of Eclipse. It has a much better environment for C++, IMHO.
Hope this helps.
Personally I'd recommend setting up a cross-platform build process using something like CMake (http://www.cmake.org). CMake in particular will generate platform-specific project files for you -- so your friends could be working in Visual Studio and you could be working in Eclipse or XCode, with no problems at all (of course, you'd have to write portable code... :))
As far as sharing code and version control goes, I agree with Jon that something like git is ideal.
We build our Windows+Mac+Linux apps using Qt, which includes a nice build system (qmake) and cross-platform APIs (so the same code will run on all OS's) and an IDE (which I haven't used but I hear is okay).
With multiple developers you'll definitely want some sort of source-code-management system as well, git and svn are both good choices there.

installing open cv for the Dev C++

I want to install open cv library and i am using Dev c++ compiler. I tried several times to install open cv, but it doesnt work properly. i have read some documents which says, it is necessary to intall cmake first. but, i tried without it. can anyone guide me to install open cv please (please give me procedure, step by step).
I would answer this properly, but, here is my very important recommendation.
Don't use Dev-C++!
It isn't really maintained (last release was in 2005), it is mostly meant for beginning programmers (I learned from it myself), its a pain to do anything it was not meant to do.
I would suggest Visual C++ Express, Eclipse CDT, or Code::Blocks. If you have a computer that's pretty new, then, Netbeans.
If you are willing to use these technologies, a lot of people will gladly give you answers.
I wrote a procedure for Code::Blocks on Win32 a little while back.