Re: Linker Error for static template, undefined reference. Help.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Iain,

I see where you DECLARED allFiles.

Where do you DEFINE allFiles?

Something that looks like this in a .cpp file:

QVector<File>* FileSet::allFiles = NULL;

...or...

QVector<File>* FileSet::allFiles = new QVector<File>;

--Eljay


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux