Hi I'm new to Qt and C++ and I'm rebuilding a application I originally did with AutoIt
I have Qt creator 5.0.1 the open source version, I'm a bit confused on how to have it static
Can you build a single exe with the needed dll's?
How do you save a text file which has line breaks rather than the text being a single line the code I used is:
void batchcreator::on_actionSave_triggered()
{
tr("Thea Files (*.ipt.thea);;xml Files (*.xml)"));
if (!fileName.isEmpty()) {
// error message
} else {
stream << ui->textEdit->toPlainText();
stream.flush();
file.close();
}
}
void batchcreator::on_actionSave_triggered()
{
QString fileName = QFileDialog::getSaveFileName(this, tr("Save File"), QString(),
tr("Thea Files (*.ipt.thea);;xml Files (*.xml)"));
if (!fileName.isEmpty()) {
QFile file(fileName);
if (!file.open(QIODevice::WriteOnly)) {
// error message
} else {
QTextStream stream(&file);
stream << ui->textEdit->toPlainText();
stream.flush();
file.close();
}
}
To copy to clipboard, switch view to plain text mode
Probably a really stupid Q, feel free to take me outside and beat me lol
Is it possible to build as Mac and Linux version of a project on a Windows machine?
Deploy wizard, is that supposed to work?
thanks
Nige
PS
This is what I'm doing, this is the Autoit one, the Qt version will have a tab layout and a lot more tidy
tiki-download_file.jpg
Bookmarks