B
bashcommando
Guest
Which one is good for new X11 programmers? I am trying to use GL in the window.
I just want to use gedit and g++. Is it compatable with gl?Just my opinion, but I love QT. Not just how it looks but using QT Creator makes everything sooo easy.
Yes. http://qt-project.org/doc/qt-5/QGLWidget.htmlI just want to use gedit and g++. Is it compatable with gl?
Qt has become more popular. Works on more platforms, easier to use, less system resources.Why hasn't anybody suggested anything about GTK yet? I want something efficient, easy, and something that can import openGL objects. I also want to compare the two.
I just want to use gedit and g++. Is it compatable with gl?
qmake -project
qmake foo.pro
make
I don't really care about popularity, But I like everything else you said.Qt has become more popular. Works on more platforms, easier to use, less system resources.
Sorry I don't have any GTK experience.![]()
Don't care about looks because I am making a video game, thats why I asked about GL. I like the fact about running on old computers. But I don't think GL is.Some of the old gtk1 apps are fun to run like xmms and use less resources especially for retro hardware, like to be up to date with browser though. Must admit Avidemux looks better with QT interface.
Is it possible to make QT programs without qmake?Other than a few basic tutorials, I haven't done anything much with GTK myself.
I've used wxWidgets a lot in the past. I quite like wxWidgets and have ported a few old Windows MFC programs (in-house tools at a previous job) to wxWidgets in order to make them cross-platform (Windows, Mac and Linux). Had to put a few conditional compilation kludges in there for some platform specific/compiler specific functionality, but on the whole it was relatively straightforward. But I've recently started messing with QT.
Ryan has answered the GL part of your question, but on the subject of using gedit and g++:
Using an IDE like QT Creator or Kdevelop is certainly quick and easy, but it is
possible to use QT without using an IDE. I have created a few small QT projects completely on the command line (using vim to write the source files and the command line to compile).
Basically, you create a directory with the name of your project, which contains your source tree. When you are ready to try your first attempt at compiling, you need to navigate into the project directory and use qmake to create a project file:
The -project switch causes qmake to examine the content of the current directory (and recurses through the sub-directories) and auto-magically creates a project file named foo.pro (where foo is the name of the current/project directory).Code:qmake -project
Next you run the command:
Again, where foo.pro is the name of the project file generated by qmake. This examines the project file and does some other automatic witchcraft to create some makefiles throughout your source tree.Code:qmake foo.pro
Finally, you can attempt to compile your project using good old, trusty make:
Code:make
All being well, your project should compile and build!
If not, you know the drill - fix any errors the compiler whines about and run make again until it builds!
Also note: if you add or remove any files from your source tree, you will need to use qmake to regenerate the project file and the makefiles as per the steps above before using make to compile/build again!
I'm not using glut because its not open-source. Can you give me a link or an example on gl and x11It should be possible to use X11 with gl.
Or you could just use opengl for everything, with glut to deal with the windowing side of things.
I've not done anything with bare X for some time now, but I'll see if I can dig something out.I'm not using glut because its not open-source. Can you give me a link or an example on gl and x11