Reputation: 680
I've previously read that a line length in C++ source code files are limited means longer than a size couldn't be compiled. true yes? as you know in Qt creator many lines become long because of using Qt features, forexample for writing a string within a label it might be so long. so what will happen if our line became so long. Is it okay or some tricks should be done?
Upvotes: 0
Views: 2865
Reputation: 3021
As tinman said, there is another question that might give you some info.
But consider this:
Qt has been used in many lines of code so far (and counting). So, except if you have a very special case you should not have to worry about this problem. If you were referring to a "long QLabel", you can still write code with line wraps and use the "+" operator.
Also, if your code is written in such a way that even the compiler chokes, I would not want to read or maintain your code ;)
Upvotes: 1