Re: [Qt-creator] Model editor regression and feature request

2017-10-17 Thread Christian Gagneraud
On 18/10/2017 7:17 AM, Jochen Becher wrote: Hi, As I never use the File System, Class View or Type Hierarchy panes I did not implement this in the past. It was by accident if File System pane was supported. I didn't know before I read your mail that it ever worked. I find it hard to believe

[Qt-creator] Whether the Application Manager Plugin is or will be open sourced

2017-10-17 Thread jack ma
Hi, As the Boot2Qt and Qt Application Manager projects both were open sourced, when building Boot2Qt‘s package, I found this document about Qt Creator Application Manager Plugin But I can't find the plugin in Qt Creator, I think this

Re: [Qt-creator] Model editor regression and feature request

2017-10-17 Thread Jochen Becher
Hi, As I never use the File System, Class View or Type Hierarchy panes I did not implement this in the past. It was by accident if File System pane was supported. I didn't know before I read your mail that it ever worked. Please create improvement issues at bugreports.qt.io. And you are very

Re: [Qt-creator] Unit testing private parts of shared libraries

2017-10-17 Thread Elvis Stansvik
2017-10-17 19:57 GMT+02:00 : > On Tue, 2017-10-17 at 19:53 +0200, Elvis Stansvik wrote: >> > > > What do you mean by "not testing the code exactly as shipped"? >> > > > When >> > > > you include the cpp file (or just compile the same file into >> > > > your >> > > >

Re: [Qt-creator] Unit testing private parts of shared libraries

2017-10-17 Thread timur . kristof
On Tue, 2017-10-17 at 19:53 +0200, Elvis Stansvik wrote: > > > > What do you mean by "not testing the code exactly as shipped"? > > > > When > > > > you include the cpp file (or just compile the same file into > > > > your > > > > project), why isn't it the same code as shipped? > > > > Sorry for

Re: [Qt-creator] Unit testing private parts of shared libraries

2017-10-17 Thread Elvis Stansvik
2017-10-17 19:46 GMT+02:00 : > >> > > > There is another way, and it's used in qbs I believe, that is >> > > > option 2: >> > > > #include "Foo.h" >> > > > #include "Foo.cpp" >> > > > >> > > > class FooTest: QObject >> > > > { >> > > > ... >> > > > } >> > > > >> > > >> >

Re: [Qt-creator] Unit testing private parts of shared libraries

2017-10-17 Thread timur . kristof
> > > > There is another way, and it's used in qbs I believe, that is > > > > option 2: > > > > #include "Foo.h" > > > > #include "Foo.cpp" > > > > > > > > class FooTest: QObject > > > > { > > > > ... > > > > } > > > > > > > > > > The downside I guess that again, you're not testing the code >

Re: [Qt-creator] Unit testing private parts of shared libraries

2017-10-17 Thread Elvis Stansvik
2017-10-17 10:36 GMT+02:00 Nikolai Kosjar : > On 10/16/2017 06:57 PM, Elvis Stansvik wrote: >> >> Hi all, >> >> (Posting this as a new thread instead of necroposting to my old thread >> about the design of Qt Creator [1], which did end with some >> discussions about testing.)

Re: [Qt-creator] Unit testing private parts of shared libraries

2017-10-17 Thread Nikolai Kosjar
On 10/16/2017 06:57 PM, Elvis Stansvik wrote: Hi all, (Posting this as a new thread instead of necroposting to my old thread about the design of Qt Creator [1], which did end with some discussions about testing.) I'm working on some tests for my own application, and started thinking about unit

Re: [Qt-creator] Unit testing private parts of shared libraries

2017-10-17 Thread Elvis Stansvik
2017-10-17 9:45 GMT+02:00 Christian Gagneraud : > On 17/10/2017 8:42 pm, "Christian Gagneraud" wrote: > > On 17/10/2017 8:35 pm, "Elvis Stansvik" wrote: > > 2017-10-17 9:29 GMT+02:00 Christian Kandeler : >> On Mon,

Re: [Qt-creator] Unit testing private parts of shared libraries

2017-10-17 Thread Christian Gagneraud
On 17/10/2017 8:42 pm, "Christian Gagneraud" wrote: On 17/10/2017 8:35 pm, "Elvis Stansvik" wrote: 2017-10-17 9:29 GMT+02:00 Christian Kandeler : > On Mon, 16 Oct 2017 18:57:19 +0200 > Elvis Stansvik wrote: >

Re: [Qt-creator] Unit testing private parts of shared libraries

2017-10-17 Thread Christian Gagneraud
On 17/10/2017 8:35 pm, "Elvis Stansvik" wrote: 2017-10-17 9:29 GMT+02:00 Christian Kandeler : > On Mon, 16 Oct 2017 18:57:19 +0200 > Elvis Stansvik wrote: > >> I'm working on some tests for my own application, and started

Re: [Qt-creator] Unit testing private parts of shared libraries

2017-10-17 Thread Elvis Stansvik
2017-10-17 9:29 GMT+02:00 Christian Kandeler : > On Mon, 16 Oct 2017 18:57:19 +0200 > Elvis Stansvik wrote: > >> I'm working on some tests for my own application, and started thinking >> about unit testing of private parts of shared libraries (think

Re: [Qt-creator] Unit testing private parts of shared libraries

2017-10-17 Thread Christian Kandeler
On Mon, 16 Oct 2017 18:57:19 +0200 Elvis Stansvik wrote: > I'm working on some tests for my own application, and started thinking > about unit testing of private parts of shared libraries (think the > _p.h/_p.cpp parts). Such parts are normally not exported AFAIK (in the >