Good point:
Using Qt 4.7 on Mac OS 10.6 (Snow Leopard).
Relevant compile output:
new attempt/JBUtilities.h -o moc_JBUtilities.cpp
moc: Too many input files specified
Usage: moc [options] <header-file>
-o<file> write output to file rather than stdout
-I<dir> add dir to the include path for header files
-E preprocess only; do not generate meta object code
-D<macro>[=<def>] define macro, with optional definition
-U<macro> undefine macro
-i do not generate an #include statement
-p<path> path prefix for included file
-f[<file>] force #include, optional file name
-nw do not display warnings
@<file> read additional options from file
-v display version of moc
make: *** [moc_JBUtilities.cpp] Error 1
First part of .h file for JBUtilities:
#ifndef JBUTILITIES_H
#define JBUTILITIES_H
#include <QObject>
#include <QHash>
#include <QBrush>
#include <QMessageBox>
#include "JBConstants.h"
{
Q_OBJECT
public:
static JBUtilities* getJBUtilities();
#ifndef JBUTILITIES_H
#define JBUTILITIES_H
#include <QObject>
#include <QHash>
#include <QBrush>
#include <QMessageBox>
#include "JBConstants.h"
class JBUtilities : public QObject
{
Q_OBJECT
public:
static JBUtilities* getJBUtilities();
QString getTableNameForLabel(const QString &aLabel) const;
QString getLabelForTableName(const QString &aTableName) const;
To copy to clipboard, switch view to plain text mode
Bookmarks