[Interest] Hiding a shared lib? Linux of course.

Thiago Macieira thiago.macieira at intel.com
Thu Jul 4 18:17:11 CEST 2013


On quinta-feira, 4 de julho de 2013 14.44.40, Diego Iastrubni wrote:
> I was thinking something similar a few days ago. This is out of scope
> for Qt5... but Qt6.. how about using namespaces to distinguish the Qt
> releases?
> 
> Qt6::MainWindow w = new Qt6::MainWindow();
> w->show();
> 
> using namespace Qt6;
> MainWindow w = new MainWindow();
> 
> This could prevent sush crashes in the future right? The symbol names
> will be differently, and in theory crazy people would be able to load
> Q5 and Qt6 into the same memory address. yes, we might need to rename
> also "a few" public functions... but this is doable, right?

Yes, it could, but it's unlikely we'll ever do that.

That would mean a full source-compatibility break.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130704/88dade9c/attachment.sig>


More information about the Interest mailing list