|
2010-02-19
, 02:14
|
Posts: 25 |
Thanked: 1 time |
Joined on Feb 2010
|
#172
|
|
2010-02-19
, 06:06
|
Posts: 5 |
Thanked: 3 times |
Joined on Feb 2010
|
#173
|
The Following User Says Thank You to nochnoy For This Useful Post: | ||
|
2010-02-19
, 07:46
|
|
Posts: 122 |
Thanked: 135 times |
Joined on Dec 2009
@ Helsinki
|
#174
|
|
2010-02-19
, 08:17
|
|
Posts: 286 |
Thanked: 219 times |
Joined on Feb 2010
@ France
|
#175
|
cd C:\Logiciels\MADDE\0.6.14\home\Calvin mklink /J project D:\Work\dev\maemo\project
The Following User Says Thank You to calvin_42 For This Useful Post: | ||
|
2010-02-19
, 08:26
|
|
Posts: 122 |
Thanked: 135 times |
Joined on Dec 2009
@ Helsinki
|
#176
|
I got some problems when trying to use GTK+ in Qt/MADDE. First, I created the project with Qt Creator, where Gtk+ is used. In order to inform qmake the project is using GTK..., I added
unix {
CONFIG += link_pkgconfig
PKGCONFIG += gtk+-2.0 hildon-1 gstreamer-0.10
}
to the .pro file.
Then I tried to build the project with MADDE, using mad qmake. I got
'pkg-config' is not recognized as an internal or external command,
operable program or batch file.
I have asked the question at Nokia forum, but it seems I still can't get the solution. Any one help?
Cheers.
|
2010-02-19
, 12:46
|
Posts: 62 |
Thanked: 97 times |
Joined on Dec 2009
@ Finland, Kerava
|
#177
|
Here is my .pro file
Code:TARGET = MadCamera TEMPLATE = app SOURCES += main.cpp \ mainwindow.cpp HEADERS += mainwindow.h FORMS += mainwindow.ui unix { CONFIG += link_pkgconfig PKGCONFIG += gtk+-2.0 hildon-1 gstreamer-0.10 }
TARGET = MadCamera TEMPLATE = app SOURCES += main.cpp \ mainwindow.cpp HEADERS += mainwindow.h FORMS += mainwindow.ui unix { QMAKE_CXXFLAGS += $$system(mad pkg-config --cflags gtk+-2.0 hildon-1 gstreamer-0.10) QMAKE_CFLAGS += $$system(mad pkg-config --cflags gtk+-2.0 hildon-1 gstreamer-0.10) LIBS += $$system(mad pkg-config --libs gtk+-2.0 hildon-1 gstreamer-0.10) }
|
2010-02-19
, 16:57
|
Posts: 5 |
Thanked: 3 times |
Joined on Feb 2010
|
#178
|
|
2010-02-19
, 19:26
|
|
Posts: 122 |
Thanked: 135 times |
Joined on Dec 2009
@ Helsinki
|
#179
|
I installed madde on windows 7. If the directory with project sources is not under /home/<username> qmake generates absolute paths for include dirs, like this:
-Id:/prog/MADDE/0.6.14/sysroots/fremantle-arm-sysroot-2.2009-51-1-qt453/usr/include/qt4/QtCore
then g++ doesn't find the header files:
error: QApplication: No such file or directory
The Following User Says Thank You to too For This Useful Post: | ||
|
2010-02-19
, 19:29
|
|
Posts: 122 |
Thanked: 135 times |
Joined on Dec 2009
@ Helsinki
|
#180
|
Thanks. mklink helps. Just a note, replacing d:/prog with /d/prog in qmake generated makefile doesn't solve the problem, so it wouldn't help if QT_INSTALL_HEADERS builtin were set to /d/prog/MADDE/0.6.14/sysroots/... as I thought it might help. Absolute paths are problematic for gcc/g++ either way
Can't help you on this one. Sorry