c++ - Qt MOC error for namespace like FOO::BAR -


i've got namespace

namespace foo::bar {     [..] mynamespacecontent [..] } 

the moc compiler spots error on first ligne. error disappears when put :

namespace foo {     namespace bar {         [..] mynamespacecontent [..]     } } 

do happen know how can solve moc problem ?

it not moc problem, rather c++ issue;

namespace foo::bar { 

is not valid syntax, unfortunately.

namespace foo { namespace bar { 

is okay.


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -