---
title: "Qt open file report error \"Broken filename passed to function\""
author: "johnsmith9th"
date: "2022-02-18T15:22:23Z"
tags: []
categories: ["编程语言"]
slug: "qt-open-file-report-error-broken-filename-passed-to-function"
draft: false
lastmod: "2022-02-18T15:22:23Z"
id: 2524406
url: "https://johnsmith9th.iteye.com/blog/2524406"
---

原因： 文件名的最后多了一个\\0会导致这个错误