Active Topics

 


Reply
Thread Tools
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#51
Originally Posted by pablocrossa View Post
Well at least that part is ruled out


You should message freemangordon for that, but if you really need them and it is not to be added to CSSU you could package it as a deb dependency (libqt4-meego or something ). Of course I am pretty sure you've thought of this
the libqt4 meego parts are part of qt4-x11 package.
Apart from that, there are some Meego-specific functions out there.
I'll contact freemangordon.

Thanks for advice and help!
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following User Says Thank You to marmistrz For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#52
OK, after a couple of similar fixes as before, something new came out:

Code:
[ 51%] Building CXX object tests/common/unittests/ut_dbooster/CMakeFiles/ut_dbooster.dir/ut_dbooster.cpp.o
[ 52%] Building CXX object tests/common/unittests/ut_dbooster/CMakeFiles/ut_dbooster.dir/__/__/__/__/src/launcherlib/appdata.cpp.o
[ 52%] Building CXX object tests/common/unittests/ut_dbooster/CMakeFiles/ut_dbooster.dir/__/__/__/__/src/launcherlib/booster.cpp.o
[ 53%] Building CXX object tests/common/unittests/ut_dbooster/CMakeFiles/ut_dbooster.dir/__/__/__/__/src/launcherlib/connection.cpp.o
[ 53%] Building CXX object tests/common/unittests/ut_dbooster/CMakeFiles/ut_dbooster.dir/__/__/__/__/src/common/eventhandler.cpp.o
[ 54%] Building CXX object tests/common/unittests/ut_dbooster/CMakeFiles/ut_dbooster.dir/__/__/__/__/src/launcherlib/logger.cpp.o
[ 54%] Building CXX object tests/common/unittests/ut_dbooster/CMakeFiles/ut_dbooster.dir/__/__/__/__/src/qdeclarativebooster/qdeclarativebooster.cpp.o
[ 55%] Building CXX object tests/common/unittests/ut_dbooster/CMakeFiles/ut_dbooster.dir/__/__/__/__/src/launcherlib/singleinstance.cpp.o
[ 55%] Building CXX object tests/common/unittests/ut_dbooster/CMakeFiles/ut_dbooster.dir/__/__/__/__/src/launcherlib/socketmanager.cpp.o
[ 56%] Building CXX object tests/common/unittests/ut_dbooster/CMakeFiles/ut_dbooster.dir/moc_ut_dbooster.cxx.o
[ 56%] Building CXX object tests/common/unittests/ut_dbooster/CMakeFiles/ut_dbooster.dir/__/__/__/__/src/common/moc_eventhandler.cxx.o
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)

The part of source relevant to this problem is here: http://dl.dropbox.com/u/33608122/qde...booster.tar.gz

Thanks in advance
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 
Posts: 189 | Thanked: 171 times | Joined on Jul 2011
#53
Originally Posted by marmistrz View Post
OK, after a couple of similar fixes as before, something new came out:

Code:
[ 51%] Building CXX object tests/common/unittests/ut_dbooster/CMakeFiles/ut_dbooster.dir/ut_dbooster.cpp.o
[ 52%] Building CXX object tests/common/unittests/ut_dbooster/CMakeFiles/ut_dbooster.dir/__/__/__/__/src/launcherlib/appdata.cpp.o
[ 52%] Building CXX object tests/common/unittests/ut_dbooster/CMakeFiles/ut_dbooster.dir/__/__/__/__/src/launcherlib/booster.cpp.o
[ 53%] Building CXX object tests/common/unittests/ut_dbooster/CMakeFiles/ut_dbooster.dir/__/__/__/__/src/launcherlib/connection.cpp.o
[ 53%] Building CXX object tests/common/unittests/ut_dbooster/CMakeFiles/ut_dbooster.dir/__/__/__/__/src/common/eventhandler.cpp.o
[ 54%] Building CXX object tests/common/unittests/ut_dbooster/CMakeFiles/ut_dbooster.dir/__/__/__/__/src/launcherlib/logger.cpp.o
[ 54%] Building CXX object tests/common/unittests/ut_dbooster/CMakeFiles/ut_dbooster.dir/__/__/__/__/src/qdeclarativebooster/qdeclarativebooster.cpp.o
[ 55%] Building CXX object tests/common/unittests/ut_dbooster/CMakeFiles/ut_dbooster.dir/__/__/__/__/src/launcherlib/singleinstance.cpp.o
[ 55%] Building CXX object tests/common/unittests/ut_dbooster/CMakeFiles/ut_dbooster.dir/__/__/__/__/src/launcherlib/socketmanager.cpp.o
[ 56%] Building CXX object tests/common/unittests/ut_dbooster/CMakeFiles/ut_dbooster.dir/moc_ut_dbooster.cxx.o
[ 56%] Building CXX object tests/common/unittests/ut_dbooster/CMakeFiles/ut_dbooster.dir/__/__/__/__/src/common/moc_eventhandler.cxx.o
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)

The part of source relevant to this problem is here: http://dl.dropbox.com/u/33608122/qde...booster.tar.gz

Thanks in advance
add
Code:
set(QT_USE_QTDECLARATIVE TRUE)
inside the cmakelists.txt according to this
http://qtnode.net/wiki/Qt4_with_cmake (the cmake: enable/disable parts of the qt library part)
and
http://www.cmake.org/pipermail/cmake...ry/008361.html (cmake declarative add)

I know nothing of qmake or cmake really so hope this helps

EDIT: maybe also
Code:
ADD_DEFINITIONS(${QT_DEFINITIONS})

http://qt-project.org/quarterly/view...ld_qt_projects

Last edited by pablocrossa; 2012-07-17 at 13:26.
 

The Following User Says Thank You to pablocrossa For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#54
Unfortunately this is not enough. I tried many cmake commands, the CMakeLists.txt file is now:
Code:
include(FindX11)

# Qt support
include(${QT_USE_FILE})

FIND_PACKAGE(Qt4 REQUIRED)

set(LAUNCHER "${CMAKE_HOME_DIRECTORY}/src/launcherlib")
set(COMMON "${CMAKE_HOME_DIRECTORY}/src/common")
set(QT_USE_QTDECLARATIVE TRUE)
set(QT_USE_QTMAIN TRUE)
ADD_DEFINITIONS(${QT_DEFINITIONS})

include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${COMMON} ${LAUNCHER})

# Set sources
set(PLUGINSRC qdeclarativebooster.cpp pluginfactory.cpp ${LAUNCHER}/appdata.cpp ${LAUNCHER}/booster.cpp
${LAUNCHER}/connection.cpp ${LAUNCHER}/logger.cpp
${LAUNCHER}/singleinstance.cpp ${LAUNCHER}/socketmanager.cpp ${COMMON}/eventhandler.cpp)
set(MOC_HDRS ${COMMON}/eventhandler.h)
qt4_wrap_cpp(MOC_SRC ${MOC_HDRS})

set(LIBSRC mdeclarativecache.cpp mdeclarativecache.h mdeclarativecache_p.h)

# Set executables
add_library(mdeclarativecache SHARED ${LIBSRC})
set_target_properties(mdeclarativecache PROPERTIES
  VERSION 0.1 SOVERSION 0)
if ($ENV{HARMATTAN})
  set_target_properties(mdeclarativecache PROPERTIES COMPILE_FLAGS -DHAVE_PATH_REINIT)
endif ($ENV{HARMATTAN})
target_link_libraries(mdeclarativecache ${LIBDL} ${QT_QTCORE_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY} ${QT_QTGUI_LIBRARY} ${X11_LIBRARIES})

add_library(qdeclarativebooster MODULE ${PLUGINSRC} ${MOC_SRC})
set_target_properties(qdeclarativebooster PROPERTIES 
  COMPILE_FLAGS -fvisibility=hidden)
target_link_libraries(qdeclarativebooster ${LIBDL} "-L. -lmdeclarativecache")
add_dependencies(qdeclarativebooster mdeclarativecache)

# Add install rule
install(TARGETS qdeclarativebooster DESTINATION /usr/lib/applauncherd/)
install(TARGETS mdeclarativecache DESTINATION /usr/lib)
install(FILES mdeclarativecache.h MDeclarativeCache DESTINATION /usr/include/applauncherd
  PERMISSIONS OWNER_READ GROUP_READ WORLD_READ)
install(FILES README-QDECLARATIVEBOOSTER DESTINATION /usr/share/doc/applauncherd)
But still the linking error
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 
Posts: 189 | Thanked: 171 times | Joined on Jul 2011
#55
Originally Posted by marmistrz View Post
Unfortunately this is not enough. I tried many cmake commands, the CMakeLists.txt file is now:
Code:
include(FindX11)

# Qt support
include(${QT_USE_FILE})

FIND_PACKAGE(Qt4 REQUIRED)

set(LAUNCHER "${CMAKE_HOME_DIRECTORY}/src/launcherlib")
set(COMMON "${CMAKE_HOME_DIRECTORY}/src/common")
set(QT_USE_QTDECLARATIVE TRUE)
set(QT_USE_QTMAIN TRUE)
ADD_DEFINITIONS(${QT_DEFINITIONS})

include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${COMMON} ${LAUNCHER})

# Set sources
set(PLUGINSRC qdeclarativebooster.cpp pluginfactory.cpp ${LAUNCHER}/appdata.cpp ${LAUNCHER}/booster.cpp
${LAUNCHER}/connection.cpp ${LAUNCHER}/logger.cpp
${LAUNCHER}/singleinstance.cpp ${LAUNCHER}/socketmanager.cpp ${COMMON}/eventhandler.cpp)
set(MOC_HDRS ${COMMON}/eventhandler.h)
qt4_wrap_cpp(MOC_SRC ${MOC_HDRS})

set(LIBSRC mdeclarativecache.cpp mdeclarativecache.h mdeclarativecache_p.h)

# Set executables
add_library(mdeclarativecache SHARED ${LIBSRC})
set_target_properties(mdeclarativecache PROPERTIES
  VERSION 0.1 SOVERSION 0)
if ($ENV{HARMATTAN})
  set_target_properties(mdeclarativecache PROPERTIES COMPILE_FLAGS -DHAVE_PATH_REINIT)
endif ($ENV{HARMATTAN})
target_link_libraries(mdeclarativecache ${LIBDL} ${QT_QTCORE_LIBRARY} ${QT_QTDECLARATIVE_LIBRARY} ${QT_QTGUI_LIBRARY} ${X11_LIBRARIES})

add_library(qdeclarativebooster MODULE ${PLUGINSRC} ${MOC_SRC})
set_target_properties(qdeclarativebooster PROPERTIES 
  COMPILE_FLAGS -fvisibility=hidden)
target_link_libraries(qdeclarativebooster ${LIBDL} "-L. -lmdeclarativecache")
add_dependencies(qdeclarativebooster mdeclarativecache)

# Add install rule
install(TARGETS qdeclarativebooster DESTINATION /usr/lib/applauncherd/)
install(TARGETS mdeclarativecache DESTINATION /usr/lib)
install(FILES mdeclarativecache.h MDeclarativeCache DESTINATION /usr/include/applauncherd
  PERMISSIONS OWNER_READ GROUP_READ WORLD_READ)
install(FILES README-QDECLARATIVEBOOSTER DESTINATION /usr/share/doc/applauncherd)
But still the linking error
Maybe http://harmattan-dev.nokia.com/docs/...singcmake.html
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#56
Originally Posted by pablocrossa View Post
Maybe http://harmattan-dev.nokia.com/docs/...singcmake.html
It's for linking apps with applauncher (and applauncher isn't built yet)
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following User Says Thank You to marmistrz For This Useful Post:
Posts: 224 | Thanked: 132 times | Joined on Jun 2012 @ Cairo ;Egypt
#57
Originally Posted by marmistrz View Post
It's for linking apps with applauncher (and applauncher isn't built yet)

Maybe it Useful to u


http://lists.meego.com/pipermail/mee...ne/029192.html

http://lists.meego.com/pipermail/mee...ry/016370.html

http://meego.gitorious.org/meegotouc...CMakeLists.txt


http://www.meego.gitorious.org/meego...CMakeLists.txt


https://build.pub.meego.com/package/...8db5bccdf7f6a4





and About libqt4-meegographicssystemhelper see this

http://fossies.org/unix/misc/qt-ever...er-dev.install


http://harmattan-dev.nokia.com/pool/...ree/q/qt4-x11/





I'm sure you Successful In your project With best wishes

Last edited by amr.fayz; 2012-07-17 at 17:10.
 

The Following User Says Thank You to amr.fayz For This Useful Post:
Posts: 224 | Thanked: 132 times | Joined on Jun 2012 @ Cairo ;Egypt
#58
hi marmistrz I hope to finds you well

the new in Harmattan compared to Fremantle

Qt is upgraded
GTK+ user interface is upgraded
gcc is upgraded
glibc is upgraded
Kernel is upgraded


all of this can upgrade the problem in Kernel can u upgrade Kernel of Fremantle to Support Harmattan see this If it helps you

http://maemo.cloud-7.de/HARM/N9/openmode_kernel_PR1.1/
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#59
Originally Posted by amr.fayz View Post
hi marmistrz I hope to finds you well

the new in Harmattan compared to Fremantle

Qt is upgraded
GTK+ user interface is upgraded
gcc is upgraded
glibc is upgraded
Kernel is upgraded


all of this can upgrade the problem in Kernel can u upgrade Kernel of Fremantle to Support Harmattan see this If it helps you

http://maemo.cloud-7.de/HARM/N9/openmode_kernel_PR1.1/
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
__________________
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-18 at 13:09.
 
Posts: 224 | Thanked: 132 times | Joined on Jun 2012 @ Cairo ;Egypt
#60
 
Reply

Tags
fremantle, harmattan, meego, optify, porting


 
Forum Jump


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