Re: [Development] Signals/slots for class templates (Was: Evolving Qt's multithreading API)

2013-03-17 Thread Olivier Goffart
On Sunday 10 March 2013 18:27:30 Peter Kümmel wrote:
 On 10.03.2013 16:54, Sze Howe Koh wrote:
  Olivier started implementing this:
  https://codereview.qt-project.org/#change,49864
 
 Last year I gave it also a try,
 
  http://lists.qt-project.org/pipermail/development/2012-June/004580.html
 http://lists.qt-project.org/pipermail/development/2012-June/004536.html
 
 and in meantime I've ported it to Qt5:
 
  https://codereview.qt-project.org/#change,41468

Sorry. I had forgotten your attempt.

The good thing with your attempt is that it splits the output into two files 
(The part that need to be included and the part that do not).

 Another problem is that you have to moc before you compile any file which
 needs the moc generated headers.

That's a small build system issue.


-- 
Olivier 

Woboq - Qt services and support - http://woboq.com - http://code.woboq.org
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Signals/slots for class templates (Was: Evolving Qt's multithreading API)

2013-03-17 Thread Thiago Macieira
On domingo, 17 de março de 2013 11.13.01, Olivier Goffart wrote:
 On Sunday 10 March 2013 10:09:24 Thiago Macieira wrote:
  On domingo, 10 de março de 2013 23.54.42, Sze Howe Koh wrote:
   What's holding us back? What does installing the moc file mean?
 
  You install the output from moc.

 Yes. That is a build system issue which is not difficult to solve.

 And it's only if the said QObject is in a header file which also needs to be
 installed, and that you do not rely on extern template.

Are you recommending that people use this feature only for non-public classes?

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center


signature.asc
Description: This is a digitally signed message part.
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Signals/slots for class templates (Was: Evolving Qt's multithreading API)

2013-03-17 Thread Olivier Goffart
On Sunday 17 March 2013 08:13:21 Thiago Macieira wrote:
 On domingo, 17 de março de 2013 11.13.01, Olivier Goffart wrote:
  On Sunday 10 March 2013 10:09:24 Thiago Macieira wrote:
   On domingo, 10 de março de 2013 23.54.42, Sze Howe Koh wrote:
What's holding us back? What does installing the moc file mean?
   
   You install the output from moc.
  
  Yes. That is a build system issue which is not difficult to solve.
  
  And it's only if the said QObject is in a header file which also needs to
  be installed, and that you do not rely on extern template.
 
 Are you recommending that people use this feature only for non-public
 classes?

I'm saying that it can be used first with non-public classes before we change 
the build system to install the needed generated files.

-- 
Olivier 

Woboq - Qt services and support - http://woboq.com - http://code.woboq.org

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] OpenGL in Qt 5.1 and onwards

2013-03-17 Thread Giuseppe D'Angelo
Il 04/03/2013 11:12, Sean Harmer ha scritto:
 My colleague and friend peppe was kind enough to take this on which has
 resulted in a very useful QOpenGLDebugLogger. See
 https://codereview.qt-project.org/#change,48660

This has been merged during last weekend. Finally :)

Cheers,
-- 
Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Software Engineer
KDAB (UK) Ltd., a KDAB Group company
Tel. UK +44-1738-450410, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Linker Error While linking application(form of DLL) with Qt libs

2013-03-17 Thread Amogh Kudari
Hi All,

   Any idea on how to proceed to remove the linker errors mentioned
 below.
Please provide any inputs/suggestions.

Thanks and Regards,
Amogh.

On Thu, Mar 14, 2013 at 3:19 PM, Amogh Kudari amogh.kuda...@gmail.comwrote:

 Hi All,

 I am currently trying to link my software component
 libs(propreitary) with Qt Libs to form a DLL which will further be used by
 my application.
 In doing so I am facing linker issues. I did check if the symbols are
 present in the libs and Yes they are present in Libs, but still its unable
 to link.
 I am currently using Qt 4.8.4 on Windows using Visual Studio command
 prompt.
 The linker command on make is as follows.

 *COMMAND:*
 *
 *
 * link c:/my_sw_component/my_sw_components.obj
 c:/my_sw_component/my_sw_component.lib **e:/platform/platform.lib
 c:/my_sw_component/platform.res *
 *e:/workspace/qtwebkit/qt-4.8.4/lib/QtCored4.lib *
 *e:/workspace/qtwebkit/qt-4.8.4/lib/QtGuid4.lib*
 *e:/workspace/qtwebkit/qt-4.8.4/lib/QtNetworkd4.lib *
 *e:/workspace/qtwebkit/qt-4.8.4/lib/QtWebkitd4.lib *
 *kernel32.lib gdi32.lib user32.lib WinInet.lib*
 * /nologo /DLL /subsystem:windows*
 * /libpath:e:/workspace/lib/*
 * /libpath:C:/Program Files/Microsoft SDKs/Windows/v6.0A/Lib*
 * /fixed:no /incremental:no /PDB:NONE /SAFESEH:NO /nodefaultlib /debug
 /map:c:/my_sw_component/my_sw_component.map
 /out:c:/my_sw_component/my_sw_component.dll*

 *
 *
 *LINKER ERRORS:*
 *
 *
Creating library c:/my_sw_component/my_sw_component.lib and object
 c:/my_sw_component/my_sw_component.exp
 webkitbrowser.lib(qndsresourcemanager.obj) : *error LNK2001: unresolved
 external symbol private: static struct QByteArray::Data
 QByteArray::shared_null (?shared_null@QByteArray@@0UData@1@A)*
 webkitbrowser.lib(qndsnetworkreplyfileimpl.obj) : error LNK2001:
 unresolved external symbol private: static struct QByteArray::Data
 QByteArray::shared_null (?shared_null@QByteArray@@0UData@1@A)
 webkitbrowser.lib(qndsnetworkcookiejar.obj) : error LNK2001: unresolved
 external symbol private: static struct QByteArray::Data
 QByteArray::shared_null (?shared_null@QByteArray@@0UData@1@A)
 webkitbrowser.lib(keyboard.obj) : error LNK2001: unresolved external
 symbol private: static struct QByteArray::Data QByteArray::shared_null
 (?shared_null@QByteArray@@0UData@1@A)
 webkitbrowser.lib(webpage.obj) : error LNK2001: unresolved external symbol
 private: static struct QByteArray::Data QByteArray::shared_null
 (?shared_null@QByteArray@@0UData@1@A)
 webkitbrowser.lib(pushbutton.obj) : error LNK2001: unresolved external
 symbol private: static struct QByteArray::Data QByteArray::shared_null
 (?shared_null@QByteArray@@0UData@1@A)
 webkitbrowser.lib(qndsresourcemanager.obj) :* error LNK2001: unresolved
 external symbol private: static struct QString::Data QString::shared_null
 (?shared_null@QString@@0UData@1@A)*
 webkitbrowser.lib(qndsnetworkreplyfileimpl.obj) : error LNK2001:
 unresolved external symbol private: static struct QString::Data
 QString::shared_null (?shared_null@QString@@0UData@1@A)
 webkitbrowser.lib(qndsnetworkcookiejar.obj) : error LNK2001: unresolved
 external symbol private: static struct QString::Data QString::shared_null
 (?shared_null@QString@@0UData@1@A)
 ?shared_null@QString@@0UData@1@A)
 webkitbrowser.lib(qndsresourcemanager.obj) *: error LNK2001: unresolved
 external symbol public: char __thiscall QChar::toAscii(void)const 
 (?toAscii@QChar@@QBEDXZ)*
 webkitbrowser.lib(qndsnetworkreplyfileimpl.obj) : error LNK2001:
 unresolved external symbol public: char __thiscall
 QChar::toAscii(void)const  (?toAscii@QChar@@QBEDXZ)
 webkitbrowser.lib(qndsnetworkcookiejar.obj) : error LNK2001: unresolved
 external symbol public: char __thiscall QChar::toAscii(void)const 
 (?toAscii@QChar@@QBEDXZ)
 webkitbrowser.lib(keyboard.obj) : error LNK2001: unresolved external
 symbol public: char __thiscall QChar::toAscii(void)const  (?toAscii@QChar
 @@QBEDXZ)
 webkitbrowser.lib(webpage.obj) : error LNK2001: unresolved external symbol
 public: char __thiscall QChar::toAscii(void)const  (?toAscii@QChar
 @@QBEDXZ)


 I did not find any suitable answer in net.

 Please provide me any inputs on how to resolve this error.

 Thanks in advance for help.


 Regards,
 Amogh.

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development