Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - vit0

#1
81CeFFAgX7HCTeko7KqHNnhEcMhN3H79hni2TdjuVZyXvpPs5E
#2
Technical Support / Re: Cannot compile keyhotee
January 11, 2014, 02:46:01 PM
Hi I have a problem with make.
I use:
QTDIR=/home/vit0/Qt5.2.0/5.2.0/gcc_64/  cmake -DCMAKE_INSTALL_PREFIX:PATH=$HOME -DBoost_INCLUDE_DIR:PATH=/usr/include -DBoost_LIBRARY_DIR:PATH=/usr/lib/ .
to cmake and everything works but after I execute make, 73% is done and I get errors:

[ 73%] Building CXX object CMakeFiles/Keyhotee.dir/KeyhoteeMainWindow.cpp.o
In file included from /home/vit0/Dokumenty/keyhotee/KeyhoteeMainWindow.cpp:1:0:
/home/vit0/Dokumenty/keyhotee/KeyhoteeMainWindow.hpp: In constructor 'ContactGui::ContactGui(QTreeWidgetItem*, ContactView*)':
/home/vit0/Dokumenty/keyhotee/KeyhoteeMainWindow.hpp:41:20: warning: 'ContactGui::_view' will be initialized after [-Wreorder]
   ContactView*     _view;
                    ^
/home/vit0/Dokumenty/keyhotee/KeyhoteeMainWindow.hpp:39:20: warning:   'unsigned int ContactGui::_unread_msg_count' [-Wreorder]
   unsigned int     _unread_msg_count;
                    ^
/home/vit0/Dokumenty/keyhotee/KeyhoteeMainWindow.hpp:45:3: warning:   when initialized here [-Wreorder]
   ContactGui(QTreeWidgetItem* tree_item, ContactView* view)
   ^
/home/vit0/Dokumenty/keyhotee/KeyhoteeMainWindow.cpp: In constructor 'KeyhoteeMainWindow::KeyhoteeMainWindow(const TKeyhoteeApplication&)':
/home/vit0/Dokumenty/keyhotee/KeyhoteeMainWindow.cpp:204:18: error: 'ItemNeverHasChildren' is not a member of 'Qt'
   space_flags |= Qt::ItemNeverHasChildren;
                  ^
make[2]: *** [CMakeFiles/Keyhotee.dir/KeyhoteeMainWindow.cpp.o] Błąd 1
make[1]: *** [CMakeFiles/Keyhotee.dir/all] Error 2
make: *** [all] Error 2


Can anyone help me with that? :)

Quote[Xubuntu 13.10 x64]