Re: [Qt-creator] Creator ignores condition blocks?

2012-03-12 Thread Nikos Chantziaras
A project is a project. You develop it as a whole. It's up to you to create relevant directories for platform-specific files and collapse the ones you don't want to see. On 12/03/12 22:59, Danny Price wrote: > Is there a workaround? It's annoying to have the tree cluttered up with files > irr

Re: [Qt-creator] indent preprocessor directives

2012-05-04 Thread Nikos Chantziaras
On 20/04/12 17:44, Erik Verbruggen wrote: > > On Apr 20, 2012, at 2:41, Mohammad Mirzadeh wrote: > >> Hey guys, >> >> Is there a way to tell QtCreator to indent directives appropriately? I don't >> seem to find an option under the code style ... > > No, there are no options for the preprocessor di

Re: [Qt-creator] indent preprocessor directives

2012-05-04 Thread Nikos Chantziaras
On 04/05/12 23:02, Atlant Schmidt wrote: > Nikos, et al.: > >> Indenting preprocessor directives is perfectly acceptable by the standard. > >Pre-ANSI C, when many of us learned to type, that wasn't >the case; preprocessor directives had to start in column 1. >But ANSI C has been around

Re: [Qt-creator] indent preprocessor directives

2012-05-05 Thread Nikos Chantziaras
cout << "Hello world from thread #" << > omp_get_thread_num()<<endl; > > > > >} > >return 0; > > > > > } > > > This is OK for this example, but for longer ones with couple of

Re: [Qt-creator] indent preprocessor directives

2012-05-05 Thread Nikos Chantziaras
On 05/05/12 22:23, Jonathan S. Shapiro wrote: > Sounds right, but before we do let's do a quick sanity check. We know > that the GNU preprocessors, the MSFT preprocessor, and the XCode > preprocessor all handle not-in-column-one correctly. Are there any > *other* (potentially non-compliant) preproc

Re: [Qt-creator] How to set Shadow Build path in the project(*.por) file?

2012-06-09 Thread Nikos Chantziaras
On 09/06/12 07:32, rcyboom wrote: > Hello, > everyone: > I can set the path of output files in the .pro file,which is using: > > DESTDIR = ../../bin > > I down't know how to setting the shadow build path except in the UI interface > of Qt creator,can you help me? > Because I has many projects in

Re: [Qt-creator] Qt Creator 2.6.0

2012-11-09 Thread Nikos Chantziaras
On 09/11/12 17:39, Ziller Eike wrote: > > On 9 Nov 2012, at 13:20, Graham Labdon > wrote: > >> Hi >> When I attempt to create a new project in Qt Creator 2.6.0 I don't get an >> option to create a Qt project (such as Qt Gui application or Qt Console >> application) >> This was present in previ

Re: [Qt-creator] Qt Creator 2.6.0

2012-11-09 Thread Nikos Chantziaras
On 09/11/12 22:37, Jana Aurindam wrote: > > On Nov 9, 2012, at 5:25 PM, Nikos Chantziaras wrote: > >> On 09/11/12 17:39, Ziller Eike wrote: >>> >>> On 9 Nov 2012, at 13:20, Graham Labdon >>> wrote: >>> >>>> Hi >>>>

Re: [Qt-creator] Qt Creator 2.6.0

2012-11-12 Thread Nikos Chantziaras
On 12/11/12 10:05, Ziller Eike wrote: > > On 9 Nov 2012, at 17:25, Nikos Chantziaras > wrote: > >> On 09/11/12 17:39, Ziller Eike wrote: >>> You have to register at least one Qt version in Preferences > Build & Run > >>> Qt versions (and while you

[Qt-creator] Unable to write composed characters

2012-11-12 Thread Nikos Chantziaras
I am unable to write composed characters in Qt Creator. For example, when I want to write: á In all other programs I press these two keys in succession: 'a That gets me an "á". But in Qt Creator that doesn't work. As soon as I press the ' key, it immediately appears on screen. So in

Re: [Qt-creator] Unable to write composed characters

2012-11-14 Thread Nikos Chantziaras
I'm Gentoo Linux using the latest version of Creator, which is 2.6.0. On 13/11/12 09:46, André Hartmann wrote: > This works perfectly for me both in Windows XP (Creator 2.6) and Ubuntu > Linux (Creator 2.4). > > * Which Creator Version are you using? > * Which Operating System (and Desktop Enviro

[Qt-creator] Code completion is unable to find header files

2012-12-31 Thread Nikos Chantziaras
I've run into a nasty problem with Qt Creator (I'm using 2.6.1 on Gentoo Linux) where it can't find header files I include and thus code completion for anything in those headers isn't working. Case in point: #include Creator can't find it because the full path to that header is: /usr/i

Re: [Qt-creator] Code completion is unable to find header files

2012-12-31 Thread Nikos Chantziaras
012 at 12:19 PM, Nikos Chantziaras <mailto:rea...@gmail.com>> wrote: > > I've run into a nasty problem with Qt Creator (I'm using 2.6.1 on Gentoo > Linux) where it can't find header files I include and thus code > completion for anything in

Re: [Qt-creator] Code completion is unable to find header files

2012-12-31 Thread Nikos Chantziaras
; This settings ignored only by QtCreator C++ engine or build fails too? > > 31.12.2012 14:33, Nikos Chantziaras пишет: >> I forgot to mention that I know about this, but this can potentially >> also break portability, since it might preempt the directory reported by >> pkg-co

[Qt-creator] Creator 2.7.0 RC stopped working

2013-03-20 Thread Nikos Chantziaras
Creator was working fine before, but something got updated in my Linux distro that seems to break it. The problem is that it can't detect Qt as being installed. All my entries are ignored and on startup, this is printed on stdout: Qt version is no longer known, removing from kit "Desktop".

Re: [Qt-creator] Creator 2.7.0 RC stopped working

2013-03-21 Thread Nikos Chantziaras
> On 21.03.2013, at 06:12, Nikos Chantziaras wrote: > >> Creator was working fine before, but something got updated in my Linux >> distro that seems to break it. The problem is that it can't detect Qt as >> being installed. All my entries are ignored and on startup, thi

Re: [Qt-creator] Creator 2.7.0 RC stopped working

2013-03-22 Thread Nikos Chantziaras
? > > Best regards, > > 2013/3/21 Nikos Chantziaras mailto:rea...@gmail.com>> > > Yep, that's it. Thanks. > > On 21/03/13 09:59, Ziller Eike wrote: > > You have probably manually disabled the QmlJSTools plugin. The Qt > project manager depend

[Qt-creator] How to get syntax highlighting for CMakeLists.txt?

2013-03-27 Thread Nikos Chantziaras
When I open a CMakeLists.txt in Creator it pops up an information bar saying: "A highlight definition was not found for this file. Would you like to try to find one?" How do I get this to work? Opening the file in Kate or KWrite works just fine. In the options, "/usr/share/apps/katepart/synt

Re: [Qt-creator] How to get syntax highlighting for CMakeLists.txt?

2013-03-28 Thread Nikos Chantziaras
On 27/03/13 12:59, Nikos Chantziaras wrote: > When I open a CMakeLists.txt in Creator it pops up an information bar > saying: > > "A highlight definition was not found for this file. Would you like to > try to find one?" > > How do I get this to work? Opening t

Re: [Qt-creator] How to get syntax highlighting for CMakeLists.txt?

2013-03-28 Thread Nikos Chantziaras
On 28/03/13 13:03, Nikos Chantziaras wrote: > On 27/03/13 12:59, Nikos Chantziaras wrote: >> When I open a CMakeLists.txt in Creator it pops up an information bar >> saying: >> >> "A highlight definition was not found for this file. Would you like to >> try to

Re: [Qt-creator] How to get syntax highlighting for CMakeLists.txt?

2013-03-28 Thread Nikos Chantziaras
On 28/03/13 15:25, Michael Jackson wrote: > > On Mar 28, 2013, at 7:30 AM, Nikos Chantziaras wrote: >> >> Sorry for the monologue folks, but I've come across another issue now. >> After actually building the project, Creator now red-underlines some >> line

Re: [Qt-creator] Problems using c++11 features

2013-04-02 Thread Nikos Chantziaras
On 02/04/13 12:49, Prof. Dr.-Ing. Wilhelm Meier wrote: > Hi all, > > in the following simple example (code and project settings below) using > c++11-features I heavily miss the autocompletion: the templates of > aren't autocompleted as well as the members of the > std::shared_ptr template and the

Re: [Qt-creator] Sytanx highlightning .Pro files

2013-04-20 Thread Nikos Chantziaras
On 20/04/13 17:40, Sven Putze wrote: > Hi there, > > where can I find the file with the defines for the syntax highlightning of > .PRO files? Many qmake variables are not recognized in QtCreator 2.7 on (Mac) > OSX. I'd like to fix that. This is normal. The syntax highlighter for project files d

Re: [Qt-creator] Sytanx highlightning .Pro files

2013-04-21 Thread Nikos Chantziaras
On 21/04/13 15:28, Sven Putze wrote: >>> >>> where can I find the file with the defines for the syntax highlightning of >>> .PRO files? Many qmake variables are not recognized in QtCreator 2.7 on >>> (Mac) OSX. I'd like to fix that. >> >> This is normal. The syntax highlighter for project files

Re: [Qt-creator] Qt Creator 3.2 dropping support for Mac OS X 10.6

2014-01-24 Thread Nikos Chantziaras
Creator doesn't build software. It's not a compiler. So you are not depending on it to build anything, actually. It would seem to be that someone in your company is confused about compilers :-) On 23/01/14 20:16, Adam Light wrote: > All but one developer at my (smallish) company is still using

[Qt-creator] Ugly font rendering?

2014-06-23 Thread Nikos Chantziaras
I was using Qt Creator 2.8.1 and decided to try 3.1.1. So I installed it using the official Linux installer. The fonts look "washed out" and lack blackness, making them tiring to read. Here's how fonts look in Creator 2.8.1: http://s15.postimg.org/es4jn3xdn/qt4.png and here's how they look

Re: [Qt-creator] Ugly font rendering?

2014-06-23 Thread Nikos Chantziaras
On 24/06/14 00:06, jeandet wrote: > Le lundi 23 juin 2014 à 15:33 +0300, Nikos Chantziaras a écrit : >> I was using Qt Creator 2.8.1 and decided to try 3.1.1. So I installed it >> using the official Linux installer. >> >> The fonts look "washed out" and

Re: [Qt-creator] Dropping Qt Creator compilation with Qt 4

2014-07-09 Thread Nikos Chantziaras
On 09/07/14 14:51, Ziller Eike wrote: > After a long transitioning period of 3 minor Qt 5 versions, I think > that it is time to think about dropping support for compiling Qt > Creator with Qt 4. Obviously this needs to happen. I just want to point out that Creator built against Qt 5 looks ugly.

[Qt-creator] Any way to make Creator play nice with an identifier called "emit"?

2015-02-15 Thread Nikos Chantziaras
A library I'm using has an "emit" identifier for a function. Creator gets horribly confused by this, redlines everything and does not recognize any declarations or definitions that depend on that function. Example: QGst::PadPtr vidpad(QGlib::emit(fPipeline, "get-video-

[Qt-creator] How do I see clang warning when using clang code model?

2016-02-07 Thread Nikos Chantziaras
I tried the clang code model plugin with Creator 3.6.0. A lot of yellow triangle warning signs show up, but there's nothing in the "Issues" panel (Alt+1). Neither in any of the other panels. Clicking on the yellow triangles just places breakpoints, it doesn't open any tooltip with the warning o

Re: [Qt-creator] How do I see clang warning when using clang code model?

2016-02-07 Thread Nikos Chantziaras
bias On Sun, Feb 7, 2016 at 6:12 PM, Nikos Chantziaras wrote: I tried the clang code model plugin with Creator 3.6.0. A lot of yellow triangle warning signs show up, but there's nothing in the "Issues" panel (Alt+1). Neither in any of the other panels. Clicking on the yellow tr

Re: [Qt-creator] How do I see clang warning when using clang code model?

2016-02-07 Thread Nikos Chantziaras
On 07/02/16 20:27, Bubke Marco wrote: On February 7, 2016 19:13:55 Nikos Chantziaras wrote: Nope, there's no underlines anywhere. I also switched to the "default" editor style to make sure they weren't disabled, but still no underlines. In text styles there are items

[Qt-creator] Cannot display QML inside creator, works just fine outside it

2016-02-11 Thread Nikos Chantziaras
When I run an application that displays a QQuickWidget outside of Creator, everything is fine. However, when running it in Creator (with or without debugger), the application freezes at the moment the QQuickWidget is used, and I get this error in "Application Output": Unrecognized OpenGL ver

Re: [Qt-creator] Cannot display QML inside creator, works just fine outside it

2016-02-12 Thread Nikos Chantziaras
On 12/02/16 10:39, Hunger Tobias wrote: On Do, 2016-02-11 at 23:13 +0200, Nikos Chantziaras wrote: When I run an application that displays a QQuickWidget outside of Creator, everything is fine. However, when running it in Creator (with or without debugger), the application freezes at the moment

Re: [Qt-creator] Cannot display QML inside creator, works just fine outside it

2016-02-16 Thread Nikos Chantziaras
On 16/02/16 17:00, Robert Löhning wrote: Am 12.02.2016 um 09:39 schrieb Hunger Tobias: On Do, 2016-02-11 at 23:13 +0200, Nikos Chantziaras wrote: When I run an application that displays a QQuickWidget outside of Creator, everything is fine. However, when running it in Creator (with or without

Re: [Qt-creator] Cannot display QML inside creator, works just fine outside it

2016-02-17 Thread Nikos Chantziaras
On 17/02/16 11:33, Robert Löhning wrote: Am 16.02.2016 um 21:08 schrieb Nikos Chantziaras: On 16/02/16 17:00, Robert Löhning wrote: Am 12.02.2016 um 09:39 schrieb Hunger Tobias: On Do, 2016-02-11 at 23:13 +0200, Nikos Chantziaras wrote: When I run an application that displays a QQuickWidget

Re: [Qt-creator] qmake and backtick command arguments

2016-02-21 Thread Nikos Chantziaras
On 21/02/16 11:47, Andrzej Telszewski wrote: Hi, I'm trying to do something like this in .pro file: INCLUDEPATH += \ `php-config --includes` Try the system() function in combination with the "$$" operator (for variable expansion): INCLUDEPATH += $$system(php-config --includes) ___

Re: [Qt-creator] qmake and backtick command arguments

2016-02-21 Thread Nikos Chantziaras
On 21/02/16 13:14, Andrzej Telszewski wrote: I'm on Linux, so as a quick workaround something like this works fine: INCLUDEPATH += \ $$system(php-config --includes | sed -e 's:-I::g') that is using "sed" to remove the extra "-I". Is there some more qmake-like solution? If not, I'm gonna stic

Re: [Qt-creator] qmake and backtick command arguments

2016-02-22 Thread Nikos Chantziaras
On 22/02/16 10:45, Andrzej Telszewski wrote: On 22/02/16 09:39, Ziller Eike wrote: This yields yet another inconvenience. Using QMAKE_CFLAGS allows application to compile fine, but header files are not seen by Qt Creator and so cannot be nicely navigated. Looks like Qt Creator handles QMAKE_CXX

Re: [Qt-creator] qmake and backtick command arguments

2016-02-22 Thread Nikos Chantziaras
On 22/02/16 12:17, Konstantin Tokarev wrote: 22.02.2016, 11:55, "Nikos Chantziaras" : On 22/02/16 10:45, Andrzej Telszewski wrote: On 22/02/16 09:39, Ziller Eike wrote: This yields yet another inconvenience. Using QMAKE_CFLAGS allows application to compile fine, but header fil

Re: [Qt-creator] qmake and backtick command arguments

2016-02-22 Thread Nikos Chantziaras
On 22/02/16 12:41, Andrzej Telszewski wrote: With: QMAKE_CFLAGS += $$system(php-config --includes) I get: -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib and with: PHP_INCLUDEPATH = $$system(php-co

Re: [Qt-creator] Clang Code Model: add -Wno-padded

2016-03-04 Thread Nikos Chantziaras
This happens for me too, on Clang 3.7.1. I never complained about it though, since it's dead-easy to just add -wno-padded to the Clang model options. On 04/03/16 02:03, Bubke Marco wrote: I have similar structures and have never seen the warning for that cases. Which clang version do you u

Re: [Qt-creator] QtCreator 4.0: Where did my color icons go

2016-03-04 Thread Nikos Chantziaras
What, you're using icons instead of doing everything with keyboard shortcuts? :-P On 04/03/16 20:42, Mike Jackson wrote: I just compiled QtCreator 4.0 and what a surprise. It seems as if the QtCreator team seems to have followed everyone else in UI design lately and tossed out 30 years of Hum

Re: [Qt-creator] Determine if started through Qt Creator

2016-03-06 Thread Nikos Chantziaras
On 06/03/16 08:47, Walter Stefan wrote: Hi, I would like to determine in my application, if it was started through Qt Creator. My code should behave slightly different between running from Qt-Creator (error handling) or started directly from a terminal. What is the best approach for this? In

Re: [Qt-creator] It's time to fix double redundant quotes

2016-03-08 Thread Nikos Chantziaras
On 09/03/16 00:10, Jason H wrote: A while back, I started a discussion about Creator's quoting policy. There was a lot of support, and a few people were concerned about changing the behavior that has been there since the beginning. However, I'm again tired of fighting with creator inserting "

Re: [Qt-creator] (no subject)

2016-03-13 Thread Nikos Chantziaras
On 12/03/16 15:16, Papá wrote: In my Laptop, the IDE's font is very, very small, but that is the case with most applications in my Laptop. However, for Notepad, cmd and other applications I was able to increase the font size directly into the application, the win10 apps don't let you do this,

[Qt-creator] Clang 3.8 and Creator code model

2016-03-13 Thread Nikos Chantziaras
I upgraded to LLVM and Clang 3.8.0. The Clang code model doesn't work anymore. There are no error messages anywhere. It just silently doesn't do anything (no auto-completion, no code checking, nothing.) Is this supposed to happen? ___ Qt-creator mail

Re: [Qt-creator] Clang 3.8 and Creator code model

2016-03-13 Thread Nikos Chantziaras
On 13/03/16 10:36, Andrzej Telszewski wrote: On 13/03/16 09:34, Nikos Chantziaras wrote: I upgraded to LLVM and Clang 3.8.0. The Clang code model doesn't work anymore. There are no error messages anywhere. It just silently doesn't do anything (no auto-completion, no code checking, not

Re: [Qt-creator] Clang 3.8 and Creator code model

2016-03-13 Thread Nikos Chantziaras
On 13/03/16 11:15, Nikos Chantziaras wrote: On 13/03/16 10:36, Andrzej Telszewski wrote: On 13/03/16 09:34, Nikos Chantziaras wrote: I upgraded to LLVM and Clang 3.8.0. The Clang code model doesn't work anymore. [...] I also updated to LLVM and Clang 3.8.0 and completion stopped wo

Re: [Qt-creator] (no subject)

2016-03-13 Thread Nikos Chantziaras
change. I guess this is more of a Engineering challenge than I setting/users settings. To the benefit of the Developers, this problem does not occur in my Desktop. Have a good week. Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 *From: *Nikos Chantziaras <m

[Qt-creator] Do smart pointers work in Creator 4.0?

2016-03-23 Thread Nikos Chantziaras
I see that Creator 4.0 beta was released. Does someone know if either the built-in or the clang code model now supports auto-completion when dereferencing smart pointers? (std::shared_ptr and std::unique_ptr). ___ Qt-creator mailing list Qt-creator@qt

Re: [Qt-creator] Do smart pointers work in Creator 4.0?

2016-03-23 Thread Nikos Chantziaras
On 23/03/16 17:43, Guenter Schwann wrote: On Wednesday, March 23, 2016 05:15:58 PM Nikos Chantziaras wrote: I see that Creator 4.0 beta was released. Does someone know if either the built-in or the clang code model now supports auto-completion when dereferencing smart pointers? (std::shared_ptr

[Qt-creator] 4.0 doesn't clean nor rebuild in cmake projects

2016-03-27 Thread Nikos Chantziaras
With cmake projects, the "clean" or "rebuild" functions in the build menu don't do anything. I assume this is not normal. Is there a proper way to fix that? Currently, I just replaced the default command "cmake --build" with "make clean". For some reason, cmake doesn't have a "--clean" option?

Re: [Qt-creator] 4.0 doesn't clean nor rebuild in cmake projects

2016-03-27 Thread Nikos Chantziaras
27/03/16 20:45, Cristian Adam wrote: Delete your project's .user file and reload the project. Qt Creator should then work fine. Qt Creator creates a "clean" target for all projects. "cmake --target clean" should be the manual command in case you really need it. Cheers,

Re: [Qt-creator] 4.0 doesn't clean nor rebuild in cmake projects

2016-03-27 Thread Nikos Chantziaras
On 27/03/16 21:22, Tobias Hunger wrote: For CMake I would recommend just switching to ninja as the build backend though. That does parallel builds out of the box and seems much faster at handling builds of projects where only a few files changed. I just assumed the default is the best one. Ther

Re: [Qt-creator] 4.0 doesn't clean nor rebuild in cmake projects

2016-03-27 Thread Nikos Chantziaras
On 27/03/16 21:34, Konstantin Tokarev wrote: 27.03.2016, 21:32, "Nikos Chantziaras" : On 27/03/16 21:22, Tobias Hunger wrote: For CMake I would recommend just switching to ninja as the build backend though. That does parallel builds out of the box and seems much faster at handl

[Qt-creator] Where can I find a list of Creator's variables?

2016-04-11 Thread Nikos Chantziaras
I have the issue of Creator using clang++ to build C++ sources, and GCC to build C sources. I am trying to fix this, but for the life of me I can't find a reference of Creator's variables anywhere. In the kit that uses Clang, Creator uses this in the "CMake Configuration" field: CMAKE_CXX_

Re: [Qt-creator] Where can I find a list of Creator's variables?

2016-04-11 Thread Nikos Chantziaras
On 11/04/16 17:58, Hunger Tobias wrote: On Mo, 2016-04-11 at 15:57 +0300, Nikos Chantziaras wrote: I have the issue of Creator using clang++ to build C++ sources, and GCC to build C sources. I am trying to fix this, but for the life of me I can't find a reference of Creator's variable

[Qt-creator] "org.qtproject.example.myapp died" when running Android app

2016-11-10 Thread Nikos Chantziaras
I have a problem when running my app on the android emulator. After a few seconds (usually between 5 and 10 seconds or so), this is printed on the "application output" panel: "org.qtproject.example.myapp" died And after that, I can't see the output of my application anymore, so all qDebug()

Re: [Qt-creator] "org.qtproject.example.myapp died" when running Android app

2016-11-10 Thread Nikos Chantziaras
latest versions."? Because at http://wiki.qt.io/Android it says: "Note that NDK r11 and r12 are known to have issues" I'm using r10e and everything has been positive so far. Alex On 10 November 2016 at 19:29, Nikos Chantziaras mailto:rea...@gmail.com>> wrote: I have a p

Re: [Qt-creator] "org.qtproject.example.myapp died" when running Android app

2016-11-10 Thread Nikos Chantziaras
n 11/11/2016 03:43 AM, Nikos Chantziaras wrote: I'm on r13b. I'll try and downgrade to r10e and see what happens. Naturally, I just assumed having the latest version would be best :-P On 11/11/2016 03:38 AM, Alexandre Pretyman wrote: Hi Nikos, Can you define the versions on "Th

Re: [Qt-creator] "org.qtproject.example.myapp died" when running Android app

2016-11-11 Thread Nikos Chantziaras
ftware Engineer The Qt Company GmbH Rudower Chaussee 13 D-12489 Berlin vikas.pach...@qt.io +49 151 74118269 http://qt.io <http://qt.io/> On 11/11/16 03:16, "Qt-creator on behalf of Nikos Chantziaras" wrote: Alright, I install r10e, deleted r13b (to make sure Creator doesn'

[Qt-creator] Designer has unreadable tiny controls

2017-03-27 Thread Nikos Chantziaras
Opening a *.ui.qml file in Creator results in the Designer showing elements in the left-side panel using a very small size. The problem was not there with a 1080p monitor. Now I'm using a 1440p monitor with high DPI and everything is pretty much unusable since I can't see much. The rest of C

[Qt-creator] Clang code model still borked?

2017-07-10 Thread Nikos Chantziaras
I wanted to give the Clang code model a try again (it was not very useful the last time I tried.) With the latest Qt Creator version (4.3.1), I get this when auto-completing ctor arguments: http://i.imgur.com/SERKkdW.png Which is obviously not useful at all. Is the Clang model still conside

Re: [Qt-creator] Clang code model still borked?

2017-07-11 Thread Nikos Chantziaras
On 11/07/17 09:29, Eike Ziller wrote: On Jul 10, 2017, at 18:39, Nikos Chantziaras wrote: I wanted to give the Clang code model a try again (it was not very useful the last time I tried.) With the latest Qt Creator version (4.3.1), I get this when auto-completing ctor arguments: http

Re: [Qt-creator] Clang code model still borked?

2017-07-11 Thread Nikos Chantziaras
On 11/07/17 14:56, Eike Ziller wrote: On Jul 11, 2017, at 13:10, Nikos Chantziaras wrote: On 11/07/17 09:29, Eike Ziller wrote: On Jul 10, 2017, at 18:39, Nikos Chantziaras wrote: I wanted to give the Clang code model a try again (it was not very useful the last time I tried.) With the

Re: [Qt-creator] Clang code model still borked?

2017-07-11 Thread Nikos Chantziaras
On 11/07/17 15:17, Nikos Chantziaras wrote: It's because it was the first thing that happened once I enabled the Clang code mode. It seemed to me that ctor arguments are extremely important, not optional. If the model ships with broken ctor completion support, it just looks like it&#x

Re: [Qt-creator] qmake will not build c++ file named something like format.cc and ostream.cc

2017-07-19 Thread Nikos Chantziaras
I've been using .cc files for C++ source code forever, and it has always worked fine with qmake and in Creator. On 08/07/17 11:02, Morton Lin wrote: Hi All, I currently want to use spdlog(https://github.com/gabime/spdlog) in my qt project. It contains two file named : format.cc and ostream.c

[Qt-creator] 4.5 beta removed Ant support?

2017-10-19 Thread Nikos Chantziaras
Can someone shed some light as to what this part in the 4.5 beta changelog means: Android * Removed support for Ant However, Ant seems to be a prerequisite for Qt Android development? See: http://doc.qt.io/qt-5/androidgs.html In order to use Qt for Android, you need the following:

Re: [Qt-creator] 4.5 beta removed Ant support?

2017-10-19 Thread Nikos Chantziaras
years old now. On 19/10/17 11:39, Jake Petroules wrote: That's outdated. Google dropped support for Ant in favor of Gradle, and we've followed suit. You don't need to do or install anything, it should work out of the box. On Oct 19, 2017, at 10:37 AM, Nikos Chantziaras wrot

[Qt-creator] Does someone understand this CMake error

2017-10-25 Thread Nikos Chantziaras
This is with Qt Creator 4.5.0 beta1 on Linux (Gentoo AMD64.) GCC 6.4.0 CMake 3.9.4 Ninja 1.8.2 In the below, "foo" is your bog-standard add_executable() target: error: The install of the foo target requires changing an RPATH from the build tree, but this is not supported with the Ninja gener

Re: [Qt-creator] Does someone understand this CMake error

2017-10-26 Thread Nikos Chantziaras
Solved by ticking the "Auto-create build directories" checkbox in Options->Build & Run->CMake. That should have been enabled by default, IMO, given that you can't build your project without it and get the most obscure error message. On 25/10/17 22:26, Nikos Chantzi

Re: [Qt-creator] Does someone understand this CMake error

2017-10-26 Thread Nikos Chantziaras
On 26/10/17 13:54, Tobias Hunger wrote: On Thu, Oct 26, 2017 at 11:42 AM, Nikos Chantziaras wrote: Solved by ticking the "Auto-create build directories" checkbox in Options->Build & Run->CMake. That should have been enabled by default, IMO, given that you can't buil

[Qt-creator] Missing shortcut for jump to start/end of document?

2018-02-09 Thread Nikos Chantziaras
In the keyboard shortcuts editor, I can't seem to find entries for changing the shortcuts to jump to the start and end of the current file. I occasionally need to use Creator on a Mac, and am trying to bind Ctrl+Home/Ctrl+End for this. I have changed the shortcuts for things like begin/end of

Re: [Qt-creator] clangbackend slow code completion

2018-02-13 Thread Nikos Chantziaras
If you have the "clang-tidy" checks enabled, disable them, or only use 1 or 2 of them. That feature is extremely slow. On 14/02/18 01:33, Steve Atkins wrote: I'm using Creator 4.6.0-beta1 on a current generation macbook pro, and code completion is painfully slow - it'll take four or five seco

Re: [Qt-creator] clangbackend slow code completion

2018-02-14 Thread Nikos Chantziaras
Shouldn't all this actually be using clangd? https://clang.llvm.org/extra/clangd.html On 14/02/18 15:08, Ivan Donchevskii wrote: Btw. - it would be nice if the QtCreator clang-tidy plugin would (optionally) make use of a .clang-tidy config file (to share it with clang power tools for examp

Re: [Qt-creator] C++ Code Style and empty lines

2018-02-15 Thread Nikos Chantziaras
On 15/02/18 13:59, Benjamin TERRIER wrote: 2018-02-15 12:03 GMT+01:00 Dmitry Volosnykh : Hi, Benjamin Tools menu / Options menu item / Text Editor entry in the list on the left / Behaviour tab / Cleanups Upon Saving control group I know about this, I even talk about this in my email. My con

[Qt-creator] [4.6] Clang code model doesn't work on Android

2018-02-15 Thread Nikos Chantziaras
4.6 beta1, but also the latest rc1 snapshot (15 Feb), seem to have a non-working Clang code model when using an Android kit. The error is usually something like this: qglobal.h:45:12: fatal error: 'type_traits' file not found QDebug:1:10: note: in file included from [...] This is printed b

Re: [Qt-creator] [4.6] Clang code model doesn't work on Android

2018-02-15 Thread Nikos Chantziaras
On 16/02/18 04:24, Nikos Chantziaras wrote: 4.6 beta1, but also the latest rc1 snapshot (15 Feb), seem to have a non-working Clang code model when using an Android kit. The error is usually something like this:   qglobal.h:45:12: fatal error: 'type_traits' file not found   QDebug:

Re: [Qt-creator] [4.6] Clang code model doesn't work on Android

2018-02-15 Thread Nikos Chantziaras
tings (settings->devices->android). Point the proper folder and your errors should be gone. Kind regards, Ivan *From:* Qt-creator on behalf of Nikos Chantziaras *Sent:* Friday, February 16, 2018 6:41:36 AM *To:* qt

Re: [Qt-creator] [4.6] Clang code model doesn't work on Android

2018-02-16 Thread Nikos Chantziaras
rds, Ivan *From:* Qt-creator on behalf of Nikos Chantziaras *Sent:* Friday, February 16, 2018 8:31:53 AM *To:* qt-creator@qt-project.org *Subject:* Re: [Qt-creator] [4.6] Clang code model doesn't work on Android The NDK path is set up correctly: https://i.imgur.com/3fSaH

Re: [Qt-creator] [4.6] Clang code model doesn't work on Android

2018-02-16 Thread Nikos Chantziaras
o red icon? Anyways. Can you please create a bugreport at bugreports.qt.io? Regards, Ivan *From:* Qt-creator on behalf of Nikos Chantziaras *Sent:* Friday, February 16, 2018 8:31:53 AM *To:* qt-creator@qt-project.org *Subject

Re: [Qt-creator] Crazy improvement idea #2

2018-03-14 Thread Nikos Chantziaras
On 14/03/18 01:14, Jason H wrote: After my auto commenting of } comes my next crazy editor idea... Function popups. After hovering or clicking on a function being called in code, a pop-up of the finction's source I appears and can be easily scrolled or closed. As an enhancement, maybe only sh

Re: [Qt-creator] Dark theme colors problem in 4.6.0-rc1 with enabled Clang module

2018-03-15 Thread Nikos Chantziaras
This looks similar to an invisible text bug I reported a while ago: https://bugreports.qt.io/browse/QTCREATORBUG-19777?filter=-2 ___ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator

Re: [Qt-creator] Dark theme colors problem in 4.6.0-rc1 with enabled Clang module

2018-03-18 Thread Nikos Chantziaras
On 18/03/18 11:18, Orgad Shaneh wrote: On Thu, Mar 15, 2018 at 9:36 PM, Nikos Chantziaras <mailto:rea...@gmail.com>> wrote: This looks similar to an invisible text bug I reported a while ago: https://bugreports.qt.io/browse/QTCREATORBUG-19777?filter=-2 <https://bugr

[Qt-creator] Multiple Android APK support?

2018-04-12 Thread Nikos Chantziaras
I want to upload two APKs to the Google Play Store. One for ARM, one for x86. Google's instructions: https://developer.android.com/studio/build/configure-apk-splits.html are for Android Studio. Are there instructions for Qt Creator? Has anyone done this yet? ___

Re: [Qt-creator] Multiple Android APK support?

2018-04-13 Thread Nikos Chantziaras
Android for arm & x86 - add Android arm & x86 kits to your project - select arm kit and build first apk for arm - bump version (yes, this step is a must !) - select x86 kit and build the second apk for x86 - upload the apk to Google Play. În ziua de vineri, 13 aprilie 2018, la 00:24:2

Re: [Qt-creator] Multiple Android APK support?

2018-04-14 Thread Nikos Chantziaras
On 13/04/18 15:04, Nikos Chantziaras wrote: But it seems the site considers the highest version number as the "real" version. Pre-launch data for example isn't available for the ARM build, unless you reverse the version numbers, in which case you get data for the ARM build, but

Re: [Qt-creator] What's the crash?

2018-07-13 Thread Nikos Chantziaras
On 12/07/18 18:16, Jason H wrote: When my program seg faults, bus errors, or divides by zero, I'm left at the offending line in the debugger. Is there a way to tell what exactly caused the crash without having to guess? You need to do a debug build of your application and then start it in th

Re: [Qt-creator] What's the crash?

2018-07-16 Thread Nikos Chantziaras
Seems to be working fine here: https://i.imgur.com/OfFSAk5.png On 16/07/18 17:05, Jason H wrote: There's nothing more the debugger or C++ can do for you here. But it does at the command line: Process 79112 launched: '/Users/jhihn/Projects/test_crash/a.out' (x86_64) Process 79112 stopped

[Qt-creator] Anyone getting sagfault messages in dmesg while using Creator 4.8?

2018-12-14 Thread Nikos Chantziaras
While using Creator 4.8 on Linux (Gentoo 64-bit), sometimes dmesg prints these: [ 5309.005887] clang-7[26656]: segfault at 8 ip 02da1ee8 sp 7ffecaac4100 error 4 in clang-7[40+4fbf000] [ 5309.005893] Code: e8 4c 39 f7 0f 84 34 fd ff ff 48 8b 34 24 e8 ff f8 ff ff e9 26 fd ff ff 4

Re: [Qt-creator] Anyone getting sagfault messages in dmesg while using Creator 4.8?

2019-01-08 Thread Nikos Chantziaras
On 07/01/2019 14:27, Nikolai Kosjar wrote: On 1/7/19 12:26 PM, Steve Atkins wrote: On Dec 14, 2018, at 1:16 PM, Nikos Chantziaras wrote: While using Creator 4.8 on Linux (Gentoo 64-bit), sometimes dmesg prints these: [ 5309.005887] clang-7[26656]: segfault at 8 ip 02da1ee8 sp

Re: [Qt-creator] Qt creator + Clang model = major annoyance

2019-01-08 Thread Nikos Chantziaras
On 08/01/2019 20:00, Jason H wrote: Another way to split this is what do we need while typing vs building. I could see only real-time feedback forfast things, and at/after build-time layer in the more expensive stuff. In case people missed it: you can do a static analysis build in Creator 4.8

Re: [Qt-creator] Jumpy find occurrences?

2019-01-28 Thread Nikos Chantziaras
On 28/01/2019 20:10, Jason H wrote: Has anyone else noticed that after doing a find, and scrolling that *some* of the green find locations in the scroll bar move up or down by a *few* pixels while scrolling? Yep. It's not just find. It happens with all scrollbar marks, like warning and error

Re: [Qt-creator] RFC: Dropping support for Python 2.x for GDB/LLDB

2019-02-21 Thread Nikos Chantziaras
On 21/02/2019 21:51, André Pönitz wrote: I am therefore pondering the idea of dropping support for Python 2.x, and I'd like to gauge the potential heat such a move will draw. Creator requires at least C++11, I think? So if a system has that, it stands to reason to assume Python 3 is also avail

[Qt-creator] Designer forces a specific font in rich text

2019-03-19 Thread Nikos Chantziaras
When I edit labels or anything that accepts rich text in a form in Designer (inside Creator), it generates things like that: font-family:'Segoe UI'; As a result, when editing a form on one machine and then committing, there's unwanted changes. It's full of changes where "Sans Serif" is repl

Re: [Qt-creator] QtCreator 4.9.0-rc1 android sdk settings

2019-04-12 Thread Nikos Chantziaras
If you install Android Studio and point Creator to its JDK, SDK and NDK, then you don't need to install Java at all. Android Studio already comes with everything you need. Take a look at an answer I posted on SO: https://stackoverflow.com/a/55631810/856199 On 12/04/2019 12:20, Oleg Shal wrot

Re: [Qt-creator] Follow Symbol Under Cursor ALWAYS takes me to the header (QtCreator 4.9)

2019-05-20 Thread Nikos Chantziaras
Hm. Works fine here. It first takes me to the definition, and if I repeat, it then takes me to the declaration. If the function is a virtual with multiple override, a menu pops up to let me choose to which override to jump to. Works the same with both cmake and qmake projects. I'm not seeing an

[Qt-creator] How to downgrade to 4.11 beta1?

2019-11-07 Thread Nikos Chantziaras
I just upgraded Creator to 4.11 beta2 and it doesn't work: error while loading shared libraries: libgssapi_krb5.so.2: cannot open shared object file: No such file or directory I can't see a way to go back to 4.11 beta1 :-/ ___ Qt-creator mailing lis

Re: [Qt-creator] C++ indexing stucked

2020-04-03 Thread Nikos Chantziaras
On 03/04/2020 06:29, Christian Gagneraud wrote: Hi there, I'm having problems with code model and indexer, once a sqlite DB was corrupted (I don't know how), but even after removing this DB I still have issues with this sqlite DB. [...] Disabling ClangRefactoring plugin seems to fix the problem

  1   2   >