Active Topics

 


Reply
Thread Tools
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#1
Hi,

last week we started with instructions on how to integrate MADDE in QtCreator using a Windows environment. Now the series continues with Mac OS X. Instructions for Linux will come soon as well.

Try it out and tell us what you think - the usual

Daniel
 

The Following 3 Users Say Thank You to danielwilms For This Useful Post:
jeremiah's Avatar
Posts: 170 | Thanked: 261 times | Joined on Feb 2009 @ Gothenburg, Sweden
#2
These instructions are both unclear, and do not work. You'll have to make sure to go into greater detail on how to install the entire Qt framework, i.e. Qt and Qt Creator on OS X Snow Leopard. Not least because the documentation on the Qt site itself is confusing, it leads you around in circles when you're hunting requirements.

Here is the error I get when trying to install Qt:

cd src/tools/bootstrap/ && make -f Makefile
/Users/jeremiah/Qt/qt/src/tools/bootstrap
make[1]: Nothing to be done for `first'.
cd src/tools/moc/ && make -f Makefile
/Users/jeremiah/Qt/qt/src/tools/moc
qmake -spec ../../../mkspecs/macx-g++ -o Makefile moc.pro
make[1]: qmake: No such file or directory
make[1]: *** [Makefile] Error 1
make: *** [sub-moc-make_default-ordered] Error 2
 
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#3
Originally Posted by jeremiah View Post
These instructions are both unclear, and do not work. You'll have to make sure to go into greater detail on how to install the entire Qt framework, i.e. Qt and Qt Creator on OS X Snow Leopard. Not least because the documentation on the Qt site itself is confusing, it leads you around in circles when you're hunting requirements.

Here is the error I get when trying to install Qt:

cd src/tools/bootstrap/ && make -f Makefile
/Users/jeremiah/Qt/qt/src/tools/bootstrap
make[1]: Nothing to be done for `first'.
cd src/tools/moc/ && make -f Makefile
/Users/jeremiah/Qt/qt/src/tools/moc
qmake -spec ../../../mkspecs/macx-g++ -o Makefile moc.pro
make[1]: qmake: No such file or directory
make[1]: *** [Makefile] Error 1
make: *** [sub-moc-make_default-ordered] Error 2
The only requirement should be xcode. Then you can either install the SDK and replace QtCreator, or just the libraries and the QtCreator (both dmg files), which is mentioned in the instructions. But you don't need the libraries at all if you want to use QtCreator just for the device.

Daniel
 
jeremiah's Avatar
Posts: 170 | Thanked: 261 times | Joined on Feb 2009 @ Gothenburg, Sweden
#4
Which libraries are you referring to?

Do you mean that the steps should be;

1. Install XCode
2. Install Qt (I think I had to do this to get Qt Creator to work)
3. Install Qt Creator
4. Install MADDE

Or is step 2 not necessary?
 
Posts: 68 | Thanked: 4 times | Joined on Feb 2010 @ Germany
#5
hello,

on a 32bit-ubuntu I gotit allready working but on my new netbook with 64bit I got a problem:

"Package Creation: Running command 'dh_make -s -n -p qthello_0.1'.
Packaging Error: Command 'dh_make -s -n -p qthello_0.1' failed. Output was: The directory name must be - for dh_make to work! I ...."
see:
http://talk.maemo.org/showthread.php?t=52570

someone has an idea?

regards
schasch
 
Posts: 9 | Thanked: 1 time | Joined on Mar 2010 @ Norway
#6
Will be bumping this.

It seems like I'm having a major problem in MADDE. I'm making a theme, but at the packaging step, I'm stuck. This is what MADDE throws at me.


Carl $ mad dpkg-buildpackage -S -us -uc -d
which: pgp: unknown command
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value:
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package hildon-theme-marie
dpkg-buildpackage: source version 0.1
dpkg-buildpackage: source changed by Carl Riot <edu.buntu.unix@gmail.com>
debian/rules clean
Can't spawn "debian/rules": No such file or directory at /madbin/dpkg-buildpack age line 474.
dpkg-buildpackage: failure: debian/rules clean failed with unknown exit code -1


Anyone know why this happens?
 
Posts: 189 | Thanked: 23 times | Joined on May 2010
#7
im sure this is gonna sound very stupid but what is MADDE?
__________________
I USE BLACKBERRY F@CKERS!!!!!
 
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#8
Originally Posted by CYPHERC View Post
im sure this is gonna sound very stupid but what is MADDE?

Basically a cross-compiler which works on Mac, Windows and Linux. Combined with QtCreator it is part of the Nokia Qt SDK. Check the wiki for more information.
 
Posts: 1 | Thanked: 0 times | Joined on Aug 2010
#9
I have a problem compiling a project for maemo. I can compile it for Mac with Qt Creator. When using Qt Creator + MADDE to compile for Maemo, I got the following errors:
Code:
arm-none-linux-gnueabi-g++: QtXml: No such file or directory
arm-none-linux-gnueabi-g++: QtGui: No such file or directory
arm-none-linux-gnueabi-g++: QtNetwork: No such file or directory
arm-none-linux-gnueabi-g++: QtCore: No such file or directory
make: *** [MFTransfer] Error 1
In my understanding, these should be found within MADDE installation.

I'm using Qt Creator 2.0.1. and MADDE 0.6.72.

Any ideas what could the problem?
 
Posts: 999 | Thanked: 1,117 times | Joined on Dec 2009 @ earth?
#10
So, with MADDE will I be able to cross-compile existing linux software to the n900?

E.g. unpack the source (stella - atari 2600 emulator) and cross-compile it under MADDE?
__________________
I like cake.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 11:52.