maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   MADDE + QtCreator + Mac OS X (https://talk.maemo.org/showthread.php?t=46570)

danielwilms 2010-03-05 13:57

MADDE + QtCreator + Mac OS X
 
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

jeremiah 2010-03-06 16:14

Re: MADDE + QtCreator + Mac OS X
 
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

danielwilms 2010-03-06 21:24

Re: MADDE + QtCreator + Mac OS X
 
Quote:

Originally Posted by jeremiah (Post 557931)
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 2010-03-08 10:03

Re: MADDE + QtCreator + Mac OS X
 
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?

schasch 2010-05-13 11:28

Re: MADDE + QtCreator + Mac OS X
 
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

Sieg Warhet 2010-08-18 03:54

Re: MADDE + QtCreator + Mac OS X
 
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?

CYPHERC 2010-08-18 04:00

Re: MADDE + QtCreator + Mac OS X
 
im sure this is gonna sound very stupid but what is MADDE?

danielwilms 2010-08-18 12:48

Re: MADDE + QtCreator + Mac OS X
 
Quote:

Originally Posted by CYPHERC (Post 789992)
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.

mpo 2010-08-20 09:56

Re: MADDE + QtCreator + Mac OS X
 
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?

johnel 2010-08-20 10:36

Re: MADDE + QtCreator + Mac OS X
 
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?


All times are GMT. The time now is 12:00.

vBulletin® Version 3.8.8