Review your favorite Linux distribution.
Go Back > Blogs > rainbowsally
User Name


Rate this Entry

qt4 - sudoku solver and closable toolbar examples

Posted 05-25-2013 at 11:54 AM by rainbowsally
Updated 08-06-2014 at 08:28 AM by rainbowsally
Tags mc2, qt4, simple c

Qt4 examples.

SudokuResolver (qt4, only 180K)


I got this at, I believe. I reworked the make system using mc2 and made a few very minor changes, such as centering the window on showEvent() and addding save/restore to/from files.

There are several interesting features in the code from grid setup to BigList STL templates
and multi core processing code.

To make the app, first run
  make ui
to build the ui files, then
There is no 'make install' but the file is a stand-alone app once it's compiled so you can
symlink or move it anywhere you like.


This next example was downloaded from QT's user contributed apps page.

It had a few non-standard issues, obviously written for windows, but has been converted to a basic 'make' system using mc2.

First create the ui files
  make ui
then the application.
It should create the app named 'main' which will be clickable. The toolbar is not confined to the
space of the parent window and not all the toolbars are closable though all can be repositioned.

As always, if you poor saps are using kdevelop4, you will have a hell of a time working around the the predefined machinery. The developers have assured that they won't get complaints from neophytes but at the same time, the application is nearly unusable if you like to actually write your own code.

I use the kde3 version which I have installed into /opt/kde3. And kdbg is the world's greatest debugger. With those two tools you can really see what's going on in with the code.

If there's a better programming editor/ide than kdevelop3 around I have as yet not seen it. Unfortunately I haven't gotten the cool regex editor gui working (a perl script from apache), which worked for suse 10, but even without it, kdevelop3 is a knockout.

We call this progress?

Hey KDE, where is the next generation of developers supposed to come from?

This is an usigned rpm that MIGHT work for you. It at least uninstalls (with 'rpm -e'), so it's not too risky to try out on your system.

[You can use cpio to extract the files and see EVERYTHING that installs/uninstalls, if you know how.]

I have used kdevlite, but my current setup is make-based[tm] (available at fine linuxquestions web sites around the world) and can potentially mess up your ownerships in system files so if the rpm works, that's the way to go for now.

I believe the kdevlite is a script that sets up PATH and LD_LIBRARY_PATH for you and then runs kdevelop3 from /opt/kde3/bin. No configs are changed. But it's been a while.
Posted in Uncategorized
Views 894 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 11:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration