LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Blogs > rainbowsally
User Name
Password

Notices

Rate this Entry

QT giac (qtgiac) and new lib lq/mc2 v. 3.03

Posted 06-05-2012 at 07:58 AM by rainbowsally
Updated 09-04-2013 at 10:06 PM by rainbowsally

[If you have had trouble compiling qtgiac, this might help.]

http://rainbowsally.net/rainbowsally...giac-rs.tar.gz (about 2 megs)

This qtgiac build currently works with the following version of libLQ/mc2 (and also with later builds of the mc2 v. 2x). If you need this to work for sure AND you want to mess with the makefiles, get this version of the libLQ/mc2 as well to make the job a little easier.

http://rainbowsally.net/rainbowsally...x-3.0.3.tar.gz

This app (incidentally) demonstrates:
  1. an mc2 PROJECT type of build (recursive) with numerical prefixes to use the directory tree itself as the project configuration (i.e., the order they are compiled in);
  2. using the 'mc2 -create qt4-files' switch (in the qt dir) to generate the file sets from the form.ui (designer) file;
  3. use of global flags in a makeinclude (in top build dir);
  4. conversion of broken qt apps to qt4/designer (kompare 03-qt files to the originals in 03-qt/00-orig)
Here's the readme file for qtgiac.

file: README
Code:
This compiles on openSUSE 11.4 and probably most other systems with ix86 cpu's.

If you have problems either use mc2 (makefile creator 2 from linuxquestions.org, 
rainbow sally's blog or make adjustments in the makefiles themselves.

To build, type: make clean; make

The two libs output in the lib folder MAY be useful for other apps but they are 
only for creating the qt4 user interface in this context.

The qtgiac binary in the bin folder is usable but if you need docs you'll have to 
go ferret them out on the net.

The reason I rewrote this with mc2 makefiles is because the original wouldn't compile, 
then it would segfault in QApplication initialization when it finally did compile.

Now it works with qt4 and has a user interface created with qt4 designer.
The libs and the qtgiac app itself did have some actual bugs, such as missing includes in one of the giac files (VERSION was undefined, for example because 'config.h' wasn't included), but it was mostly ok.

Except there were tons of unused variables and and aliasing probs that need to be suppressed in the final build in case there are any REAL bugs in the system. Which there were.

This app doesn't do exactly what I needed so I have not cleaned it up (see 'unused vars and aliasig probs' above) but that should be fairly easy to do if you have a decent ide like kdevelop 3. But, SERIOUSLY, don't bother with kdevelop 4 unless you're an utter masochist; "progress" being somewhat retrograde, as it is at times.

But now that it compiles, if you had been curious what it looked like when it runs, this should be pretty close. ;-)

The latest libLQ-qt/mc2 d/loads will be posted here:
http://www.linuxquestions.org/questi...support-34783/
if you want to see if qtgiac still compiles. ;-)



The Computer Mad Science Team

:-)
Posted in Uncategorized
Views 707 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 08:16 PM.

Main Menu
Advertisement

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