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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to