Reputation: 67
I am having a problem with Qt. I am writing C++ code in Qt Creator but it doesn't autocomplete and colorize some of my functions.
Here is the sample of my code:
void Form::hide_button(){
this->ui->pushButton_10->hide();
}
void Form::on_pushButton_clicked()
{
if(push_button_error() == 0){
if(this->ui->comboBox_6->currentText() == "Evet"){
open_garph_dialog();
}
else{
}
}
}
For example, it autocompleted on_pushButton_clicked()
function but it did not complete and colorize other functions. Both functions are defined in the header file.
Do you have any idea why it happened?
Upvotes: 3
Views: 2473
Reputation: 737
Various old Qt Creator versions have this problem. You can fix it with following steps.
Some times the code update in the editor will be stuck, for that you can do following steps to fix it.
Upvotes: 3