nowrep/QupZilla — Issue #286: One problem with "qmake", two problems with "make"
Author: shevegen
Created: 2012-02-29 12:17:12+00:00
State: open

Hi. Today I downloaded the latest build.

Three problems:

(1) When running "qmake", I get this:

QupZilla.pro:9: Unknown test function: lessThan

-> No idea how to fix this, I don't know anything about .pro files.

Perhaps this could be mentioned though, at first I thought nothing
would work after this point. :)

I did a make though just to see what happens. See (2) and (3).

(2) When running make, it seems as if the location of uic is
hardcoded at /bin/uic.

My uic is however at /System/Executables/uic. (This is a
symlink pointing to /Programs/Qt/4.8.0/bin/uic )

GNU configure recognizes this. I don't think the makefile of QupZilla
should assume that uic is always at /bin. Instead it could search
through $PATH directory.

(3) It fails to compile for me :(

/bin/uic preferences/autofillmanager.ui -o ../../build/autofillmanager.h
/bin/uic bookmarks/bookmarksmanager.ui -o ../../build/bookmarksmanager.h
/bin/uic cookies/cookiemanager.ui -o ../../build/cookiemanager.h
/bin/uic history/historymanager.ui -o ../../build/historymanager.h
/bin/uic preferences/preferences.ui -o ../../build/preferences.h
/bin/uic rss/rssmanager.ui -o ../../build/rssmanager.h
/bin/uic webview/siteinfo.ui -o ../../build/siteinfo.h
/bin/uic other/aboutdialog.ui -o ../../build/aboutdialog.h
/bin/uic preferences/pluginslist.ui -o ../../build/pluginslist.h
/bin/uic downloads/downloadoptionsdialog.ui -o ../../build/downloadoptionsdialog.h
/bin/uic bookmarks/bookmarkswidget.ui -o ../../build/bookmarkswidget.h
/bin/uic webview/siteinfowidget.ui -o ../../build/siteinfowidget.h
/bin/uic downloads/downloaditem.ui -o ../../build/downloaditem.h
/bin/uic downloads/downloadmanager.ui -o ../../build/downloadmanager.h
/bin/uic rss/rsswidget.ui -o ../../build/rsswidget.h
/bin/uic autofill/autofillnotification.ui -o ../../build/autofillnotification.h
/bin/uic rss/rssnotification.ui -o ../../build/rssnotification.h
/bin/uic preferences/sslmanager.ui -o ../../build/sslmanager.h
/bin/uic other/clearprivatedata.ui -o ../../build/clearprivatedata.h
/bin/uic other/sourceviewersearch.ui -o ../../build/sourceviewersearch.h
/bin/uic other/closedialog.ui -o ../../build/closedialog.h
/bin/uic adblock/adblockdialog.ui -o ../../build/adblockdialog.h
/bin/uic tools/docktitlebarwidget.ui -o ../../build/docktitlebarwidget.h
/bin/uic sidebar/bookmarkssidebar.ui -o ../../build/bookmarkssidebar.h
/bin/uic sidebar/historysidebar.ui -o ../../build/historysidebar.h
/bin/uic desktopnotifications/desktopnotification.ui -o ../../build/desktopnotification.h
/bin/uic webview/jsconfirm.ui -o ../../build/jsconfirm.h
/bin/uic webview/jsalert.ui -o ../../build/jsalert.h
/bin/uic webview/jsprompt.ui -o ../../build/jsprompt.h
/bin/uic other/browsinglibrary.ui -o ../../build/browsinglibrary.h
/bin/uic webview/searchtoolbar.ui -o ../../build/searchtoolbar.h
/bin/uic preferences/thememanager.ui -o ../../build/thememanager.h
/bin/uic other/pagescreen.ui -o ../../build/pagescreen.h
/bin/uic tools/certificateinfowidget.ui -o ../../build/certificateinfowidget.h
/bin/uic preferences/acceptlanguage.ui -o ../../build/acceptlanguage.h
/bin/uic preferences/addacceptlanguage.ui -o ../../build/addacceptlanguage.h
/bin/uic opensearch/searchenginesdialog.ui -o ../../build/searchenginesdialog.h
/bin/uic opensearch/editsearchengine.ui -o ../../build/editsearchengine.h
/bin/uic bookmarksimport/bookmarksimportdialog.ui -o ../../build/bookmarksimportdialog.h
g++ -c -pipe -g -Wall -W -O2 -D_REENTRANT -fPIC -DQT_NO_URL_CAST_FROM_STRING -DQT_NO_DEBUG_OUTPUT -DUSE_DATADIR=\\\"""""share/qupzilla/"\\\"" -DGIT_REVISION=\\\""""\\\"" -DQT_NO_URL_CAST_FROM_STRING -DQT_NO_DEBUG_OUTPUT -DUSE_DATADIR=\\\"""""share/qupzilla/"\\\"" -DGIT_REVISION=\\\""""\\\"" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/Programs/Qt3/3.3.8.d/mkspecs/default -I. -I3rdparty -I3rdparty -Iapp -Iautofill -Ibookmarks -Icookies -Idownloads -Ihistory -Inavigation -Inetwork -Iother -Ipreferences -Irss -Itools -Iutils -Iwebview -Iplugins -Isidebar -Idata -Iadblock -Idesktopnotifications -Iopensearch -Ibookmarksimport -Ipopupwindow -I/include -I../../build/ -I../../build/ -o ../../build/qtsingleapplication.o 3rdparty/qtsingleapplication.cpp
:0:14: warning: missing terminating " character
:0:15: warning: missing terminating " character
:0:14: warning: missing terminating " character
:0:15: warning: missing terminating " character
g++ -c -pipe -g -Wall -W -O2 -D_REENTRANT -fPIC -DQT_NO_URL_CAST_FROM_STRING -DQT_NO_DEBUG_OUTPUT -DUSE_DATADIR=\\\"""""share/qupzilla/"\\\"" -DGIT_REVISION=\\\""""\\\"" -DQT_NO_URL_CAST_FROM_STRING -DQT_NO_DEBUG_OUTPUT -DUSE_DATADIR=\\\"""""share/qupzilla/"\\\"" -DGIT_REVISION=\\\""""\\\"" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/Programs/Qt3/3.3.8.d/mkspecs/default -I. -I3rdparty -I3rdparty -Iapp -Iautofill -Ibookmarks -Icookies -Idownloads -Ihistory -Inavigation -Inetwork -Iother -Ipreferences -Irss -Itools -Iutils -Iwebview -Iplugins -Isidebar -Idata -Iadblock -Idesktopnotifications -Iopensearch -Ibookmarksimport -Ipopupwindow -I/include -I../../build/ -I../../build/ -o ../../build/qtlocalpeer.o 3rdparty/qtlocalpeer.cpp
:0:14: warning: missing terminating " character
:0:15: warning: missing terminating " character
:0:14: warning: missing terminating " character
:0:15: warning: missing terminating " character
g++ -c -pipe -g -Wall -W -O2 -D_REENTRANT -fPIC -DQT_NO_URL_CAST_FROM_STRING -DQT_NO_DEBUG_OUTPUT -DUSE_DATADIR=\\\"""""share/qupzilla/"\\\"" -DGIT_REVISION=\\\""""\\\"" -DQT_NO_URL_CAST_FROM_STRING -DQT_NO_DEBUG_OUTPUT -DUSE_DATADIR=\\\"""""share/qupzilla/"\\\"" -DGIT_REVISION=\\\""""\\\"" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/Programs/Qt3/3.3.8.d/mkspecs/default -I. -I3rdparty -I3rdparty -Iapp -Iautofill -Ibookmarks -Icookies -Idownloads -Ihistory -Inavigation -Inetwork -Iother -Ipreferences -Irss -Itools -Iutils -Iwebview -Iplugins -Isidebar -Idata -Iadblock -Idesktopnotifications -Iopensearch -Ibookmarksimport -Ipopupwindow -I/include -I../../build/ -I../../build/ -o ../../build/qtwin.o 3rdparty/qtwin.cpp
:0:14: warning: missing terminating " character
:0:15: warning: missing terminating " character
:0:14: warning: missing terminating " character
:0:15: warning: missing terminating " character
In file included from 3rdparty/qtwin.cpp:27:0:
3rdparty/qtwin.h:30:18: fatal error: QColor: No such file or directory
compilation terminated.
make[2]: *** [../../build/qtwin.o] Error 1
make[2]: Leaving directory `/root/qupzilla-29.02.2012/src/lib'
make[1]: *** [sub-lib] Error 2
make[1]: Leaving directory `/root/qupzilla-29.02.2012/src'
make: *** [sub-src] Error 2

/root/qupzilla-29.02.2012/

qtwin.h can not find QColor. I am not sure why not. Where
would QColor normally reside?