Pages

Sunday, July 22, 2012

This is Dead

Symbian and Nokia are dead. I still have my Nokia E63 with handy qwerty keyboard. But I'll be fucked if gonna be arsed writing for it now that I have a Samsung Galaxy Note in my grubby paws. I will be checking to see if it's worth using Qt under android.

Sunday, January 8, 2012

CMake and Qt4

Wow! I really let this project go a good while with no work done.

I have a CMakeLists.txt file that took me a while to get together, which is general to Qt4 and CMake. Only the project name needs to be changed in this CMakeLists.txt file for a Qt only project.

CMakeLists.txt:

cmake_minimum_required (VERSION 2.8)
project (YourOwnProjectNameHere)

find_package(Qt4 REQUIRED)
include(${QT_USE_FILE})

file(GLOB ${PROJECT_NAME}_SOURCES *.cpp)
file(GLOB ${PROJECT_NAME}_HEADERS *.h)
file(GLOB ${PROJECT_NAME}_FORMS *.ui)
file(GLOB ${PROJECT_NAME}_RESOURCES resources.qrc)

qt4_wrap_cpp(${PROJECT_NAME}_HEADERS_MOC ${${PROJECT_NAME}_HEADERS})
qt4_wrap_ui(${PROJECT_NAME}_FORMS_UIC ${${PROJECT_NAME}_FORMS})
qt4_add_resources(${PROJECT_NAME}_RESOURCES_RCC ${${PROJECT_NAME}_RESOURCES})

source_group("Headers" FILES ${${PROJECT_NAME}_HEADERS})
source_group("Qt4 MetaObjectCompiler Files" FILES ${${PROJECT_NAME}_HEADERS_MOC})
source_group("Qt4 Forms" FILES ${${PROJECT_NAME}_FORMS} ${${PROJECT_NAME}_FORMS_UIC})
source_group("Qt4 Resources" FILES ${${PROJECT_NAME}_RESOURCES_RCC} ${${PROJECT_NAME}_RESOURCES})

#set(QT_USE_QTNETWORK, true)
#set(QT_USE_QTSQL, true)
#set(QT_USE_QTXML, true)
#set...etc go here

add_executable(${PROJECT_NAME} WIN32
${${PROJECT_NAME}_SOURCES}
${${PROJECT_NAME}_HEADERS}
${${PROJECT_NAME}_HEADERS_MOC}
${${PROJECT_NAME}_FORMS_UIC}
${${PROJECT_NAME}_RESOURCES_RCC}
)

target_link_libraries(${PROJECT_NAME} ${QT_LIBRARIES} ${QT_QTMAIN_LIBRARY})



I'm using Visual Studio, it tidies away files into folders in what I think is the most logical way. Example:

Friday, July 9, 2010

Starting Off

OK, so i'll be using symbian SDK to write symbian c++ so it seems, i have installed qt also just in case it's of benefit. all in the familiar carbide.c++ ide which is based on eclipse.

First off, I will have to do some hello world type apps, as I'm a complete noob to this whole symbian area.

Second, set up a basic BT connection, advertise our hid service.

From reading around the Nokia forums it seems I will need to implement the device side of the bluetooth hid profile. I have already DLed the spec from bluetooth.com http://www.bluetooth.com/Specification%20Documents/HID_SPEC_V10.pdf

I have some experience with bluetooth from a similar j2me project I did a couple of years ago as part of a college project http://www.netsoc.tcd.ie/~mcmonk/pmwiki/pmwiki.php.

...

Will get back to this later..