Skip to content

Commit

Permalink
Fix rasters cannot be styled on OSX (fix #13162)
Browse files Browse the repository at this point in the history
Add missing Q_OBJECT macro
  • Loading branch information
nyalldawson committed Aug 18, 2015
1 parent 697d2af commit 9b9dbff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ SET(QGIS_GUI_MOC_HDRS
raster/qgssinglebandgrayrendererwidget.h
raster/qgssinglebandpseudocolorrendererwidget.h
raster/qgsrasterhistogramwidget.h
raster/qgsrasterrendererwidget.h

symbology-ng/characterwidget.h
symbology-ng/qgsbrushstylecombobox.h
Expand Down
2 changes: 2 additions & 0 deletions src/gui/raster/qgsrasterrendererwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ class QgsRasterRenderer;

class GUI_EXPORT QgsRasterRendererWidget: public QWidget
{
Q_OBJECT

public:
QgsRasterRendererWidget( QgsRasterLayer* layer, const QgsRectangle &extent ):
mRasterLayer( layer )
Expand Down

5 comments on commit 9b9dbff

@Cattish
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How can I get these fixes into my installed QGIS? (I'm using Mac OS 10.10.5 and QGIS 2.10 "Pisa".)

@gioman
Copy link
Contributor

@gioman gioman commented on 9b9dbff Oct 22, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait a few days for the 2.12 release. Otherwise you'll the compile qgis source code.

@Cattish
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gloman -- Thank you.

@Cattish
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gloman - Where do I find QGIS 2.12 to download it?
DId you mean 2.10.2?

@opeeters
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.