Unable to make klayout v0.21

edited December 2010 in KLayout Support
Hi Matthias,

I download the klayout v0.21(11/29) then tried to make it, however the following error is encountered, the compiler/library environment is good to make klayout v0.20, could you please kindly help to solve our issue? thank you so much.

gcc version: 3.4.3
qt4 version: 4.4.3

/source/klayout-0.21/src/layMainWindow.cc: In constructor `lay::MainWindow::MainWindow(QApplication*, const char*)':
/source/klayout-0.21/src/layMainWindow.cc:381: error: `setTabPosition' undeclared (first use this function)
/source/klayout-0.21/src/layMainWindow.cc:381: error: (Each undeclared identifier is reported only once for each function it appears in.)

Best Regards,


  • edited December 2010
    Hi Matthias,

    Finally I marked this line(setTabPosition) in layMainWindow.cc and compiled it ok without errors,
    the program seems work fine too.

    Best Regards,
  • edited 2:28PM

    Hi chhung,

    Even though Nokia does not state that explicitly, the setTabPosition method seems to require Qt 4.5 at least. For 4.4 it is sufficient to comment out that line.

    I'll add a #if to allow building with earlier versions of Qt in the next release.

    Best regards,


Sign In or Register to comment.