Hi (again),

Continuing development of DOFCalculator.

Code runs fine and displays correctly in QTCreator (very good tool for dev and debug).

In scratchbox:
a) X86. builds and runs but UI shapes and sizes are mangled (MainWndow size set to just fill screen on N900). Been trying to read up on Hildonisation but documentation says this should be the default state for all the widgets.

b) ARMEL build fails

So two questions:
1. Am I missing some step or library or ? to create a hildonised look and feel?
2. What is causing the link failure.

Note I've run apt-get update and upgrade (made no difference) in both configurations (x86 and Armel). The apt-get update throws a couple of failures before terminating (below as well)

Your help once again much appreciated.
BR David

ARMEL compile output

[sbox-FREMANTLE_ARMEL: ~/workspaceqt/CameraDOF/CameraDepthOfField] > /opt/qt4-maemo5/bin/qmake -project
[sbox-FREMANTLE_ARMEL: ~/workspaceqt/CameraDOF/CameraDepthOfField] > /opt/qt4-maemo5/bin/qmake CameraDepthOfField.pro
[sbox-FREMANTLE_ARMEL: ~/workspaceqt/CameraDOF/CameraDepthOfField] > make
g++ -c -pipe -O3 -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wall -W -D_REENTRANT -DQT_GL_NO_SCISSOR_TEST -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/linux-g++-maemo5 -I. -I/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/include/QtCore -I/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/include/QtGui -I/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/include -I. -I. -I. -o dof_functions.o dof_functions.cpp
g++ -c -pipe -O3 -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wall -W -D_REENTRANT -DQT_GL_NO_SCISSOR_TEST -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/linux-g++-maemo5 -I. -I/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/include/QtCore -I/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/include/QtGui -I/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/include -I. -I. -I. -o main.o main.cpp
g++ -c -pipe -O3 -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wall -W -D_REENTRANT -DQT_GL_NO_SCISSOR_TEST -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/linux-g++-maemo5 -I. -I/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/include/QtCore -I/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/include/QtGui -I/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/include -I. -I. -I. -o mainwindow.o mainwindow.cpp
g++ -c -pipe -O3 -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wall -W -D_REENTRANT -DQT_GL_NO_SCISSOR_TEST -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/mkspecs/linux-g++-maemo5 -I. -I/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/include/QtCore -I/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/include/QtGui -I/targets/FREMANTLE_ARMEL/opt/qt4-maemo5/include -I. -I. -I. -o moc_mainwindow.o moc_mainwindow.cpp
g++ -Wl,-rpath-link,/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -Wl,-rpath,/opt/qt4-maemo5/lib -o CameraDepthOfField dof_functions.o main.o mainwindow.o moc_mainwindow.o -L/opt/qt4-maemo5/lib -lQtGui -L/opt/qt4-maemo5/lib -L/usr/X11R6/lib -lQtCore -lpthread
mainwindow.o: In function `QList<QString>::detach_helper()':
mainwindow.cpp.text._ZN5QListI7QStringE13detach_helperEv[QList<QString>::detach_helper()]+0x18): undefined reference to `QListData::detach3()'
mainwindow.o: In function `Ui_MainWindow::setupUi(QMainWindow*)':
mainwindow.cpp.text._ZN13Ui_MainWindow7setupUiEP11QMainWindow[Ui_MainWindow::setupUi(QMainWindow*)]+0x274): undefined reference to `QWidget::setInputMethodHints(QFlags<Qt::InputMethodHint>)'
mainwindow.cpp.text._ZN13Ui_MainWindow7setupUiEP11QMainWindow[Ui_MainWindow::setupUi(QMainWindow*)]+0xa7c): undefined reference to `QWidget::setInputMethodHints(QFlags<Qt::InputMethodHint>)'
mainwindow.cpp.text._ZN13Ui_MainWindow7setupUiEP11QMainWindow[Ui_MainWindow::setupUi(QMainWindow*)]+0x1764): undefined reference to `QWidget::setInputMethodHints(QFlags<Qt::InputMethodHint>)'
collect2: ld returned 1 exit status
make: *** [CameraDepthOfField] Error 1

X86 Make....

[sbox-FREMANTLE_X86: ~/workspaceqt/CameraDOF/CameraDepthOfField] > make
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/targets/FREMANTLE_X86/opt/qt4-maemo5/mkspecs/linux-g++ -I. -I/targets/FREMANTLE_X86/opt/qt4-maemo5/include/QtCore -I/targets/FREMANTLE_X86/opt/qt4-maemo5/include/QtGui -I/targets/FREMANTLE_X86/opt/qt4-maemo5/include -I. -I. -I. -o dof_functions.o dof_functions.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/targets/FREMANTLE_X86/opt/qt4-maemo5/mkspecs/linux-g++ -I. -I/targets/FREMANTLE_X86/opt/qt4-maemo5/include/QtCore -I/targets/FREMANTLE_X86/opt/qt4-maemo5/include/QtGui -I/targets/FREMANTLE_X86/opt/qt4-maemo5/include -I. -I. -I. -o main.o main.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/targets/FREMANTLE_X86/opt/qt4-maemo5/mkspecs/linux-g++ -I. -I/targets/FREMANTLE_X86/opt/qt4-maemo5/include/QtCore -I/targets/FREMANTLE_X86/opt/qt4-maemo5/include/QtGui -I/targets/FREMANTLE_X86/opt/qt4-maemo5/include -I. -I. -I. -o mainwindow.o mainwindow.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/targets/FREMANTLE_X86/opt/qt4-maemo5/mkspecs/linux-g++ -I. -I/targets/FREMANTLE_X86/opt/qt4-maemo5/include/QtCore -I/targets/FREMANTLE_X86/opt/qt4-maemo5/include/QtGui -I/targets/FREMANTLE_X86/opt/qt4-maemo5/include -I. -I. -I. -o moc_mainwindow.o moc_mainwindow.cpp
g++ -Wl,-rpath-link,/usr/lib -Wl,-O1 -Wl,-rpath,/opt/qt4-maemo5/lib -o CameraDepthOfField dof_functions.o main.o mainwindow.o moc_mainwindow.o -L/opt/qt4-maemo5/lib -lQtGui -L/opt/qt4-maemo5/lib -L/usr/X11R6/lib -lQtCore -lpthread

Ign http://repository.maemo.org fremantle/4bc37c7c77ebe90177c050b805a8dc79/nokia-binaries Packages/DiffIndex
Get:4 http://repository.maemo.org fremantle Release [7150B]
Ign http://repository.maemo.org fremantle Release
Get:5 http://repository.maemo.org fremantle/sdk/free Packages [197kB]
Ign http://repository.maemo.org fremantle/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/non-free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/free Sources/DiffIndex
Get:6 http://repository.maemo.org fremantle/sdk/non-free Packages [2963B]
Get:7 http://repository.maemo.org fremantle/sdk/free Sources [78.3kB]
Get:8 http://repository.maemo.org fremantle/tools/free Packages [26.2kB]
Get:9 http://repository.maemo.org fremantle/tools/non-free Packages [500B]
Get:10 http://repository.maemo.org fremantle/tools/free Sources [12.2kB]
Get:11 http://repository.maemo.org fremantle/4bc37c7c77ebe90177c050b805a8dc79/nokia-binaries Packages [67.2kB]
Ign http://repository.maemo.org fremantle/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/non-free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/free Sources/DiffIndex
Get:12 http://repository.maemo.org fremantle/free Packages [2311kB]
Get:13 http://repository.maemo.org fremantle/non-free Packages [51.9kB]
Get:14 http://repository.maemo.org fremantle/free Sources [368kB]
Hit http://repository.maemo.org fremantle/free packages
Hit http://repository.maemo.org fremantle/non-free Packages
Hit http://repository.maemo.org fremantle/free Sources
Fetched 3130kB in 12s (261kB/s)
Reading package lists... Done
W: GPG error: http://repository.maemo.org fremantle Release: Couldn't access keyring: 'No such file or directory'
W: GPG error: http://repository.maemo.org fremantle Release: Couldn't access keyring: 'No such file or directory'