|
Page 1 of 1
|
[ 10 posts ] |
|
| Author |
Message |
|
wireman
MEPIS is cool!
Joined: Thu Aug 17, 2006 7:56 am Posts: 874 Location: Scotland Has thanked: 87 times Have thanks: 45 times
|
Post # 253139
 Any tips regarding Qt?
I'm curious about looking at the installation routine for Mepis and I downloaded the source code. It's a real confusing mix of C++ and XML files, but I installed the Qt Creator IDE pointed it at the source and it looks much clearer now.
However, does anyone have any experience of Qt and have some pointers on how I can fiddle with the code?
|
| Thu Dec 02, 2010 5:16 pm |
|
 |
|
Jerry3904
MEPIS Enthusiast
Joined: Wed Jul 19, 2006 6:13 am Posts: 6444 Location: Geneva NY Has thanked: 1380 times Have thanks: 1032 times
|
Post # 253141
If you have a code, you probably shouldn't fiddle with it
because the music would be awful. Take two aspirins and go to bed instead.
[Obviously I have nothing helpful to offer...]
_________________ A Wiki only works when many eyes are on it.
32bit, 2.6.36-1-mepis-pae, KDE 4.6.5, AMD Phenom 9650 Quad-Core, Dell SP2309W with integrated webcam, Nvidia GeForce 6150SE, 4 GB DDR2
|
| Thu Dec 02, 2010 5:22 pm |
|
 |
|
Adrian
MEPIS Enthusiast
Joined: Wed Jul 12, 2006 1:42 am Posts: 3544 Has thanked: 181 times Have thanks: 297 times
|
Post # 253144
I wonder if anybody can port that to the latest QT version available for MEPIS 11.
|
| Thu Dec 02, 2010 6:39 pm |
|
 |
|
cookdav
MEPIS Guide
Joined: Thu Jul 13, 2006 2:02 pm Posts: 1287 Location: Manchester,NH Has thanked: 64 times Have thanks: 17 times
|
Post # 253145
 Hey, I was once a C++ hacker (tho I prefer Java)...
I'm with Jerry. Can you clarify a bit, by what you mean by 'fiddle with the code'? Without that, all I could answer would be: Try using a text-editor on the code itself, and then re-compile when you have it changed like you want it. Then, fire it up and enjoy your changes.  EDIT: Now that I recall further...I also once hacked on some KDE-4 code, a year or two ago. (A plasmoid, for wifi.) I learned some of the details of how to compile/build etc, by googling 'kde4 development', and found some forum or an email-list (my memory fades...). You'd do better (probably) by asking in some forums other than these, if you want a richer/more-knowledgable response. EDIT#2: Or, maybe send a PM directly to Marcos, as I think Jerry mentioned that Marcos did some/most of the heavy-lifting on the previous changes. My 2-cents... [Like the chinaman said: "Even the longest journey begins with a single step."]
_________________ Lenovo-core-i7-laptop: M12-alpha-2 / Win-7 / Aptosid Lenovo-laptop(wife's): Win-7 / M11 "Every day you look in the mirror now, you are looking at an endangered species." - Rob Watson
|
| Thu Dec 02, 2010 6:41 pm |
|
 |
|
Danum
MEPIS Guide
Joined: Sun Mar 25, 2007 5:49 pm Posts: 2449 Location: Doncaster UK Has thanked: 99 times Have thanks: 611 times
|
Post # 253153
I would think qt-sdk should be installed, version 2 is in both testing and unstable.
_________________ *Never be afraid to try something new. Remember that a lone amateur built the Ark. A large group of professionals built the Titanic(Windoze)*
Kubuntu KDE 4.10.2 / Debian Wheezy-Experimental KDE 4.10.2 / Plasma Active 3 Tablet
|
| Thu Dec 02, 2010 8:07 pm |
|
 |
|
Stevo
MEPIS Enthusiast
Joined: Fri Dec 15, 2006 8:07 pm Posts: 7354 Location: Skullcrusher Mountain, Santee, CA USA Has thanked: 322 times Have thanks: 1185 times
|
Post # 253172
Are you familiar with the standard build procedure for QT applications? In general, for QT 4, instead of ./configure, you'd run "qmake-qt4", which generates a makefile from settings in a .pro file. So then you would run "make" to compile the source code into a binary, which usually can be run just by clicking it, or installed by running "make install" as root.
However, since this is a Debian-based repo, it's much preferable to build deb packages from source, since the packaging system can keep track of what files go where, and avoid conflicts.
There's also the QT doc packages available in Synaptic which have plenty of walk-throughs and programming examples.
_________________ Lenovo ThinkPad Edge 14 inch: 4 GB RAM, Intel i5-480 processor, Intel HD graphics and sound, Intel 1000 "n" WiFi, Acer CrystalEye webcam, Hot Keys, suspend, hibernate, KDE openGL effects: all work out of the box with 64-bit MEPIS 11!
|
| Thu Dec 02, 2010 10:20 pm |
|
 |
|
wireman
MEPIS is cool!
Joined: Thu Aug 17, 2006 7:56 am Posts: 874 Location: Scotland Has thanked: 87 times Have thanks: 45 times
|
Post # 253224
No. I'm not at all familiar with Qt, hence my interest. I can program in Perl, Java and C. Just to clarify. I downloaded the mepis-install code (minstall_8.4.97.tar.gz) and have imported into a qt creator project. It already has a Makefile and .pro file so I probably can just run 'make' on it. Edit: After installing qt4-qmake, qt4-doc, qt4-dev-tools, libqt4-dev and g++ (plus dependencies), I could indeed just run 'make'. I now have a working version of the installer that I can 'fiddle' with  BTW this is in M11
|
| Fri Dec 03, 2010 4:12 pm |
|
 |
|
Adrian
MEPIS Enthusiast
Joined: Wed Jul 12, 2006 1:42 am Posts: 3544 Has thanked: 181 times Have thanks: 297 times
|
Post # 253227
I wonder if we shouldn't set up a github repo for the code and play with it over there. Then if some people submit patches Warren should be able to pull them from there.
|
| Fri Dec 03, 2010 4:58 pm |
|
 |
|
cookdav
MEPIS Guide
Joined: Thu Jul 13, 2006 2:02 pm Posts: 1287 Location: Manchester,NH Has thanked: 64 times Have thanks: 17 times
|
Post # 253228
 It feels like 'gold' to me...
I'm not surprised at all.
M11A3 is 'alpha-quality'.
To para-phrase Nike: 'Just use it.'
[I frequently forget what version I'm using. It's just "MEPIS".] 
_________________ Lenovo-core-i7-laptop: M12-alpha-2 / Win-7 / Aptosid Lenovo-laptop(wife's): Win-7 / M11 "Every day you look in the mirror now, you are looking at an endangered species." - Rob Watson
|
| Fri Dec 03, 2010 5:01 pm |
|
 |
|
wireman
MEPIS is cool!
Joined: Thu Aug 17, 2006 7:56 am Posts: 874 Location: Scotland Has thanked: 87 times Have thanks: 45 times
|
Post # 253235
Yeah that could be a good idea.
|
| Fri Dec 03, 2010 6:14 pm |
|
|
|
Page 1 of 1
|
[ 10 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|