![]() |
[Solved] Help! Can't compile with MADDE, QDbus errors are stopping me
Hello,
Edit : Solved - http://talk.maemo.org/showpost.php?p...2&postcount=12 I am nearly frustrated at the moment, I am trying to compile my application with MADDE, everything works perfect in QtCreator, including running it on the phone remotely. I am trying to follow several guides on how to compile with madde, and I am always getting the same error. Code:
../../src/horizontalcall.h:14:24: error: QDBusMessage: No such file or directory- I tried putting the full pathes to those header files, and that error indeed went away, but the last one with the rules file kept coming, and I got no deb file. Can anyone tell me what I should be writing in the Build-Depends and Depends in the control file? I am using libqtm-contacts, and dbus. Edit: for anyone that wants to help me, I'll easy start team-viewer, cause I really want this to be over. I want to focus on the application, and not on building. |
Re: Help! Can't compile with MADDE, QDbus errors are stopping me
As always when having trouble compiling and wanting to get help: include the actual compiler output together with how the compiler was started.
To not show what flags were sent to the compiler is to ask us to read your mind or magically know what you've added to the configuration files. Missing .h files are either just that, missing, by you not spelling things correctly or they're missing as in not in the path you've supplied for the compiler to look in. And yes, I know it gets frustrating after a while to get stopped by errors like these but, please, try to include the information needed to actually help you. |
Re: Help! Can't compile with MADDE, QDbus errors are stopping me
Funny that, I just managed to build my first QtDbus application (I still vastly prefer DBus-GLib but I digress.). I'm not using qmake, but the pkg-config equiv. (yes, there's no taking teh GLib out of me :)) "`pkg-config --cflags mce QtCore QtDBus` `pkg-config --libs mce QtCore QtDBus`" worked for me.
|
Re: Help! Can't compile with MADDE, QDbus errors are stopping me
Quote:
I just deleted everything 5 min ago, and started from 0, if it won't work, i'll upload everything. |
Re: Help! Can't compile with MADDE, QDbus errors are stopping me
2 Attachment(s)
Another attempt has also given me the same problem.
What I have done : 1. mad pscreate -t qt_simple horizontal-call 2. Added the code for my application into the src dir 3. Added the needed info into the project file (i did not overwrite it) 3.5. ran mad qmake 4. added qtdbus into the makefile manually to INCPATH and LIBS 5. mad make 6. mad dpkg-buildpackage The errors I am getting are : Code:
MADDE-0.6.72 /eitamAttaching my project file and header file with the problematic headers. Attachment 11210 Attachment 11211 Edit : It can be seen that on the "make" step, there is no problem with dbus, as I have added it manually to the makefile, but on the build phase, dpkg-buildpackage, the makefile is ran over, and again I am getting errors. Putting absolute path inside the H file caused errors when compiling the cpp file where it actually had to use the methods in the DBus class. |
Re: Help! Can't compile with MADDE, QDbus errors are stopping me
Quote:
|
Re: Help! Can't compile with MADDE, QDbus errors are stopping me
Quote:
|
Re: Help! Can't compile with MADDE, QDbus errors are stopping me
Quote:
I am a total noob in the field of scratchbox / linux. QtCreator allowed me to write my app, it's working perfect on my phone when I start it from QtCreator. Some very very nice guy named mohammadag was kind to help me compile it in scratchbox once, but I don't want to keep bugging him forever, so I need to learn to do it myself ): There are some bugs, I want to fix so everyone can enjoy my app. |
Re: Help! Can't compile with MADDE, QDbus errors are stopping me
Bump.
Can anyone help me? |
Re: Help! Can't compile with MADDE, QDbus errors are stopping me
Leading question:
What's the difference between the list of -I flags given in the first compile, when you start make, and in the second where the packaging tool starts make? |
| All times are GMT. The time now is 21:35. |
vBulletin® Version 3.8.8