Active Topics

 


Reply
Thread Tools
Posts: 224 | Thanked: 132 times | Joined on Jun 2012 @ Cairo ;Egypt
#61
Originally Posted by marmistrz View Post
We have Qt 4.7.4 in CSSU
Gtk+ - I don't have any ideas but Harmattan is mostly Qt
gcc 4.6 is in extras-testing
glibc - is in gcc 4.6 thread but causes problems
kernel - indeed newer, what needs it? We have 2.6.28 and libaegis-crypto is in extras-devel

May outdated cmake be the problem with applauncherd? In one of the amr.fayz' links it's claimed that some time ago applauncherd required cmake >= 2.8, and we have 2.6


I mean Kernel is upgraded to version 2.6.32. no 2.6.28

Differences between Fremantle and Harmattan

http://harmattan-dev.nokia.com/unsta...omparison.html


Source http://harmattan-dev.nokia.com/docs/...Fremantle.html
 

The Following User Says Thank You to amr.fayz For This Useful Post:
Posts: 224 | Thanked: 132 times | Joined on Jun 2012 @ Cairo ;Egypt
#62
Originally Posted by marmistrz View Post

May outdated cmake be the problem with applauncherd? In one of the amr.fayz' links it's claimed that some time ago applauncherd required cmake >= 2.8, and we have 2.6

try this


Download

www.cmake.org/files/v2.8/cmake-2.8.7.tar.gz


Install CMake by running the following commands

HTML Code:
./bootstrap --prefix=/usr       \
            --system-libs       \
            --mandir=/share/man \
            --docdir=/share/doc/cmake-2.8.7 &&
make

HTML Code:
make install


I did not try it but I hope it helps you


Index of /files/v2.8

http://www.cmake.org/files/v2.8/
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#63
Originally Posted by amr.fayz View Post
try this


Download

www.cmake.org/files/v2.8/cmake-2.8.7.tar.gz


Install CMake by running the following commands

HTML Code:
./bootstrap --prefix=/usr       \
            --system-libs       \
            --mandir=/share/man \
            --docdir=/share/doc/cmake-2.8.7 &&
make

HTML Code:
make install


I did not try it but I hope it helps you
I'll be trying harmattan's cmake
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 
Posts: 224 | Thanked: 132 times | Joined on Jun 2012 @ Cairo ;Egypt
#64
Originally Posted by marmistrz View Post
I'll be trying harmattan's cmake


Good luck

I hope work with you


http://harmattan-dev.nokia.com/docs/...html/main.html
 
Posts: 224 | Thanked: 132 times | Joined on Jun 2012 @ Cairo ;Egypt
#65
Originally Posted by marmistrz View Post
We have Qt 4.7.4 in CSSU
kernel - indeed newer, what needs it? We have 2.6.28 and libaegis-crypto is in extras-devel

I mean Kernel is upgraded to version 2.6.32. no 2.6.28


I found n900_kernel_2.6.37


http://nin101.uni.cx/N900/rescueOS/sourcecode/



can u Made maemo deb file to it
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#66
Originally Posted by amr.fayz View Post
I mean Kernel is upgraded to version 2.6.32. no 2.6.28


I found n900_kernel_2.6.37


http://nin101.uni.cx/N900/rescueOS/sourcecode/



can u Made maemo deb file to it
I don't think we need it. If anyone knows any other reason why cmake fails to link QtDeclarative, please let me know (http://talk.maemo.org/showpost.php?p...5&postcount=52)
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 
Posts: 224 | Thanked: 132 times | Joined on Jun 2012 @ Cairo ;Egypt
#67
Originally Posted by marmistrz View Post
I don't think we need it. If anyone knows any other reason why cmake fails to link QtDeclarative, please let me know (http://talk.maemo.org/showpost.php?p...5&postcount=52)

I know it's not need According to your words previously but i want u Give me Result of experience If it was useful
 
Posts: 5 | Thanked: 15 times | Joined on Jul 2012
#68
Originally Posted by marmistrz View Post
OK, after a couple of similar fixes as before, something new came out:

Code:
Linking CXX executable ut_dbooster
/home/marcin/applauncher/applauncherd-3.0.3/src/qdeclarativebooster/libmdeclarativecache.so: undefined reference to `QDeclarativeView::QDeclarativeView(QWidget*)'
collect2: ld returned 1 exit status
If it was qmake, then it should be
Code:
QT += declarative
what should be added to cmake files? (I'm not familiar with cmake)
http://www.kdab.com/using-cmake-with-qt-5/
shows some find_package() samples.

http://eiskaltdc.googlecode.com/svn-...CMakeLists.txt
has a find_package() QtDeclarative variant (not sure whether that one applies here - depends on the Qt version you use).

Given a successful result, then do something like:
target_link_libraries(my_target ${QT_something_LIBRARIES})
(see the FindQt.cmake file content on which libraries result variable it provides).

HTH!
 

The Following 2 Users Say Thank You to vcproj2cmake For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#69
Originally Posted by vcproj2cmake View Post
http://www.kdab.com/using-cmake-with-qt-5/
shows some find_package() samples.

http://eiskaltdc.googlecode.com/svn-...CMakeLists.txt
has a find_package() QtDeclarative variant (not sure whether that one applies here - depends on the Qt version you use).

Given a successful result, then do something like:
target_link_libraries(my_target ${QT_something_LIBRARIES})
(see the FindQt.cmake file content on which libraries result variable it provides).

HTH!
Applauncherd already has this:
Code:
target_link_libraries(mdeclarativecache ${LIBDL} ${QT_QTCORE_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY} ${QT_QTGUI_LIBRARY} ${X11_LIBRARIES})
The linking error happens with both Qt 4.7.0 and 4.7.4

EDIT:
Code:
target_link_libraries(mdeclarativecache ${LIBDL} ${QT_QTCORE_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY} ${QT_QTGUI_LIBRARY} ${X11_LIBRARIES} QtDeclarative)
works like charm! It builds flawlessly! Debs & autobuilder coming soon.
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here

Last edited by marmistrz; 2012-07-25 at 18:11.
 

The Following 2 Users Say Thank You to marmistrz For This Useful Post:
Reply

Tags
fremantle, harmattan, meego, optify, porting


 
Forum Jump


All times are GMT. The time now is 15:13.