Project

General

Profile

Bug #785

OpenCS fails to build

Added by Chris Robinson almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
Category:
Editor
Target version:
Start date:
05/19/2013
% Done:

100%

Spent time:
Reproducibility:
Always
Operating system:
Linux
Severity:
Blocker

Description

I'm getting an error while building opencs, which started somewhat recently:

[ 84%] Building CXX object apps/opencs/CMakeFiles/opencs.dir/view/doc/view.cpp.o
In file included from /home/kitty/projects/openmw/apps/opencs/view/doc/view.cpp:15:
/home/kitty/projects/openmw/apps/opencs/view/doc/../settings/usersettingsdialog.hpp:54:17: error: allocation of incomplete type 'QListWidgetItem'
            new QListWidgetItem (page->objectName(), mListWidget);
                ^~~~~~~~~~~~~~~
/home/kitty/projects/openmw/apps/opencs/view/doc/../settings/../../model/settings/support.hpp:9:7: note: forward declaration of 'QListWidgetItem'
class QListWidgetItem;
      ^
1 error generated.

There's no warnings with opencs before this. I have Qt 4.8.4.

History

#1 Updated by Marc Zinnschlag almost 4 years ago

  • Category set to 12
  • Assignee set to Joel Graff
  • Priority changed from Normal to Immediate
  • Target version set to openmw-0.24
  • Severity changed from Normal to Blocker

#2 Updated by Joel Graff almost 4 years ago

  • Estimated time set to 1.00 h

Need to add an include for QListWidgetItem in that header file. Compiling with 4.8.2. No idea why it never picked up on that dependency... Will try to update later today.

#3 Updated by Marc Zinnschlag almost 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF